Exclude magit's commit message files in recentf
This commit is contained in:
parent
cc5a2ed2dd
commit
381dc28439
1 changed files with 2 additions and 0 deletions
|
@ -130,6 +130,8 @@
|
|||
(mapcar 'file-truename (list prelude-savefile-dir package-user-dir)))))
|
||||
|
||||
(add-to-list 'recentf-exclude 'prelude-recentf-exclude-p)
|
||||
;; ignore magit's commit message files
|
||||
(add-to-list 'recentf-exclude "COMMIT_EDITMSG\\'")
|
||||
(setq recentf-auto-cleanup 'never) ;; disable before we start recentf!
|
||||
(recentf-mode +1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue