From 865773c04b6f27c1ded8e3f4074599419745510c Mon Sep 17 00:00:00 2001 From: Kalle Lindqvist Date: Sat, 23 Apr 2016 20:06:20 +0200 Subject: [PATCH] Fix tramp history file path The variable 'tramp-persistency-file-name' is supposed to be a filename, currently it is pointing to a directory which means tramp will not be able to save and reuse connection information. --- layers/+distribution/spacemacs-base/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layers/+distribution/spacemacs-base/config.el b/layers/+distribution/spacemacs-base/config.el index cf7cdbb3f..7edc93a74 100644 --- a/layers/+distribution/spacemacs-base/config.el +++ b/layers/+distribution/spacemacs-base/config.el @@ -188,7 +188,7 @@ It runs `tabulated-list-revert-hook', then calls `tabulated-list-print'." eval-expression-print-level nil) ;; cache files -(setq tramp-persistency-file-name (concat spacemacs-cache-directory "tramp/")) +(setq tramp-persistency-file-name (concat spacemacs-cache-directory "tramp")) ;; seems pointless to warn. There's always undo. (put 'narrow-to-region 'disabled nil)