Exclude org-agenda files from recentf list
This commit is contained in:
parent
9fa830adf3
commit
1fed926260
|
@ -59,6 +59,15 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia
|
||||||
tramp-backup-directory-alist backup-directory-alist
|
tramp-backup-directory-alist backup-directory-alist
|
||||||
tramp-auto-save-directory (cdr (assoc "." tramp-backup-directory-alist)))
|
tramp-auto-save-directory (cdr (assoc "." tramp-backup-directory-alist)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Recent files
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package recentf
|
||||||
|
:config
|
||||||
|
(add-to-list 'recentf-exclude (org-agenda-files))
|
||||||
|
:custom
|
||||||
|
(recentf-max-saved-items 2048))
|
||||||
|
#+end_src
|
||||||
** package-archive with priorities
|
** package-archive with priorities
|
||||||
#+begin_src emacs-lisp :results output silent
|
#+begin_src emacs-lisp :results output silent
|
||||||
(when (require 'package nil :noerror)
|
(when (require 'package nil :noerror)
|
||||||
|
|
Loading…
Reference in a new issue