From 9aa7965f0e255e50c2072db0b4034e71881e4ba6 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Sun, 18 Jun 2017 13:50:40 +0100 Subject: [PATCH] Emacs: Move tramp file to cache --- .emacs.d/lisp/main.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.emacs.d/lisp/main.el b/.emacs.d/lisp/main.el index e086c83e..13a72ce2 100644 --- a/.emacs.d/lisp/main.el +++ b/.emacs.d/lisp/main.el @@ -276,7 +276,7 @@ ;;; Replace not-so-useful comment-dwim binding. (global-set-key "\M-;" 'comment-line) -;;; In case you find eldoc too distracting. +;;; Eldoc: In case you find it too distracting. ;; (global-eldoc-mode 0) ;;; Replace `kill-buffer' binding by `kill-this-buffer'. @@ -301,4 +301,7 @@ ("Australia/Melbourne" "Melbourne") ("Africa/Nairobi" "Uganda"))) +;;; Tramp +(setq tramp-persistency-file-name (concat emacs-cache-folder "tramp")) + (provide 'main)