Minor refactors & reformatting
This commit is contained in:
parent
7b5baf319b
commit
f604ce6d01
6 changed files with 15 additions and 19 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue