Minor refactors & reformatting

This commit is contained in:
Henrik Lissner 2021-05-25 10:35:08 -04:00
parent 7b5baf319b
commit f604ce6d01
6 changed files with 15 additions and 19 deletions

View file

@ -305,11 +305,11 @@ or file path may exist now."
;; Resolve symlinks, strip out the /sudo:X@ prefix in local tramp paths, and
;; abbreviate $HOME -> ~ in filepaths (more portable, more readable, & saves
;; space)
(add-to-list 'recentf-filename-handlers 'doom--recentf-file-truename-fn)
(add-to-list 'recentf-filename-handlers #'doom--recentf-file-truename-fn)
;; Text properties inflate the size of recentf's files, and there is
;; no purpose in persisting them (Must be first in the list!)
(add-to-list 'recentf-filename-handlers 'substring-no-properties)
(add-to-list 'recentf-filename-handlers #'substring-no-properties)
(add-hook! '(doom-switch-window-hook write-file-functions)
(defun doom--recentf-touch-buffer-h ()