diff --git a/.emacs.d/lisp/main.el b/.emacs.d/lisp/main.el index c44eed89..635b7839 100644 --- a/.emacs.d/lisp/main.el +++ b/.emacs.d/lisp/main.el @@ -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) diff --git a/.emacs.d/lisp/mode-go.el b/.emacs.d/lisp/mode-go.el index 51fa3722..8d599c66 100644 --- a/.emacs.d/lisp/mode-go.el +++ b/.emacs.d/lisp/mode-go.el @@ -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")