Emacs: Enable savehist-mode

master
Pierre Neidhardt 2017-07-28 17:24:15 +01:00
parent c706d8f9d1
commit 8cbade80b7
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,10 @@
(setq recentf-save-file (concat emacs-cache-folder "recentf")
recentf-max-saved-items 40)
;;; Save M-: history.
(setq savehist-file (concat emacs-cache-folder "savehist"))
(savehist-mode)
;;; Disable autosave features.
(setq auto-save-default nil)
(setq auto-save-list-file-prefix nil)