summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/.config/emacs-kj/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el
index 469293e..bf3c6c6 100644
--- a/emacs/.config/emacs-kj/init.el
+++ b/emacs/.config/emacs-kj/init.el
@@ -212,6 +212,8 @@
(recentf-mode 1)
(run-at-time nil (* 5 60) 'recentf-save-list)
(setq recentf-max-saved-items 1000)
+(setq recentf-keep (defun kj/recentf-keep (file)
+ t))
(setq global-mark-ring-max 500
mark-ring-max 16)
@@ -722,6 +724,7 @@
("M-h" . ace-mc-add-single-cursor)))
;; Disable VC over tramp.
+(setq-default vc-handled-backends nil)
(defun kj/vc-off-if-remote ()
(if (file-remote-p (buffer-file-name))
(setq-local vc-handled-backends nil)))