Skip to content

Commit

Permalink
fix(recentf): load early to work correctly on non-daemon Emacs [#142]
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Dec 24, 2023
1 parent ecb3675 commit 01f6f30
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/me-builtin.el
Original file line number Diff line number Diff line change
Expand Up @@ -1320,8 +1320,6 @@ current line.")
(desktop-save-buffer t))

(use-package recentf
:after minemacs-loaded
:demand t
:custom
(recentf-save-file (concat minemacs-local-dir "recentf-save.el"))
;; Increase the maximum number of saved items
Expand All @@ -1332,7 +1330,7 @@ current line.")
(recentf-exclude
`(,(rx (or "/elfeed-db/" "/eln-cache/" "/cache/" "/.maildir/" "/.cache/"))
,(rx bol "/" (or "tmp/" "rsync:" "ssh:" "sudoedit:" "sudo:"))))
:config
:init
;; Enable `recentf-mode' to remember recent files
(+shutup! (recentf-mode 1)))

Expand Down

0 comments on commit 01f6f30

Please sign in to comment.