Emacs: Store recentf in cache folder

master
Pierre Neidhardt 2016-06-09 18:20:38 +02:00
parent 8c04ff068d
commit c3e6db4b6f
2 changed files with 4 additions and 1 deletions

View File

@ -25,6 +25,9 @@
;; Bookmark file to cache folder.
(setq bookmark-default-file (concat emacs-cache-folder "emacs.bmk"))
;; Bookmark file to cache folder.
(setq recentf-save-file (concat emacs-cache-folder "recentf"))
;; Disable autosave features.
(setq auto-save-default nil)
(setq auto-save-list-file-prefix nil)

View File

@ -26,7 +26,7 @@
(lambda ()
(setq tab-width 8)))
(add-hook-and-eval
(add-hook-and-eval
'go-mode-hook
(lambda ()
(setq gofmt-command "goimports")