summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-05-20 22:59:32 -0400
committerKyle Meyer <kyle@kyleam.com>2016-05-20 22:59:32 -0400
commitd149cc931c61f221696316f933771f8e10af40d2 (patch)
tree340fe66781455e8cd711288c74e7a647fa984c62
parent1cbd0e64b07c103bb2d7ec18a7bb683d96933e9a (diff)
downloademacs.d-d149cc931c61f221696316f933771f8e10af40d2.tar.gz
recentf: Ignore itsalltext files
-rw-r--r--init.el12
1 files changed, 7 insertions, 5 deletions
diff --git a/init.el b/init.el
index af9f772..f0d3037 100644
--- a/init.el
+++ b/init.el
@@ -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