diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-05-20 22:59:32 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-05-20 22:59:32 -0400 |
commit | d149cc931c61f221696316f933771f8e10af40d2 (patch) | |
tree | 340fe66781455e8cd711288c74e7a647fa984c62 | |
parent | 1cbd0e64b07c103bb2d7ec18a7bb683d96933e9a (diff) | |
download | emacs.d-d149cc931c61f221696316f933771f8e10af40d2.tar.gz |
recentf: Ignore itsalltext files
-rw-r--r-- | init.el | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -589,11 +589,13 @@ :config (setq recentf-max-saved-items 50 recentf-save-file "~/.emacs.d/cache/recentf") - (add-to-list 'recentf-exclude - (rx string-start - "/tmp/scratch" - (or string-end - (and "." (one-or-more not-newline))))) + (setq recentf-exclude + (append (list (rx string-start + "/tmp/scratch" + (or string-end + (and "." (one-or-more not-newline)))) + "/itsalltext/") + recentf-exclude)) (recentf-mode)) (use-package nlines |