summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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