Skip to content

Commit

Permalink
[SPACEMACS] finally fixed that bitchass recentf warning
Browse files Browse the repository at this point in the history
that prevented emacsserver from stopping properly
  • Loading branch information
mpanarin committed Sep 11, 2019
1 parent 939694f commit ab336d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .spacemacs
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,10 @@ dump."

(defun custom/generic-improvements ()
"Generic improvements and packages that are either too small, or not fitting other categories."
;; This 2 hooks fix a shitton of issues with emacs-server and recentf bitch
(add-hook 'delete-terminal-functions (lambda (terminal) (recentf-save-list)))
(add-hook 'kill-emacs-hook 'recentf-save-list)

;; Add restclient package
(use-package restclient
:config
Expand Down

0 comments on commit ab336d7

Please sign in to comment.