Browse Source

Exclude package-user-dir recently

master
10sr 5 years ago
parent
commit
5cb60ccc3d
Signed by: 10sr GPG Key ID: C384BB17CBB19347
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      emacs.el

+ 6
- 0
emacs.el View File

@@ -951,6 +951,12 @@ found, otherwise returns nil."
(when (safe-require-or-eval 'recently)
(define-key ctl-x-map (kbd "C-r") 'recently-show)
(set-variable 'recently-max 1000)
(defvar recently-excludes)
(add-to-list 'recently-excludes
(rx-to-string (list 'and
'string-start
(expand-file-name package-user-dir))
t))
(recently-mode 1))

(when (safe-require-or-eval 'editorconfig)


Loading…
Cancel
Save