Browse Source

Add recentf-exclude

master
10sr 6 years ago
parent
commit
ad601b2a15
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      emacs.el

+ 2
- 0
emacs.el View File

@@ -1202,6 +1202,8 @@ found, otherwise returns nil."
(regexp-quote recentf-save-file))
(add-to-list 'recentf-exclude
(regexp-quote (expand-file-name user-emacs-directory)))
(add-to-list 'recentf-exclude
"/sync-recentf-marker\\'")
(define-key ctl-x-map (kbd "C-r") 'recentf-open-files)
(remove-hook 'find-file-hook
'recentf-track-opened-file)


Loading…
Cancel
Save