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