Skip to content

Commit

Permalink
* anything-config.el (anything-c-source-recentf): Let user set himsel…
Browse files Browse the repository at this point in the history
…f value of recentf-max-saved-items.
  • Loading branch information
Thierry Volpiatto committed Nov 1, 2011
1 parent e9f4bc2 commit f4417b4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions anything-config.el
Original file line number Diff line number Diff line change
Expand Up @@ -5244,11 +5244,7 @@ If a prefix arg is given run grep on all buffers ignoring non--file-buffers."
'((name . "Recentf")
(init . (lambda ()
(require 'recentf)
(or recentf-mode (recentf-mode 1))
;; Big value empowers anything/recentf
(when (and (numberp recentf-max-saved-items)
(<= recentf-max-saved-items 20))
(setq recentf-max-saved-items 500))))
(or recentf-mode (recentf-mode 1))))
(candidates . recentf-list)
(match anything-c-match-on-basename)
(type . file))
Expand Down

0 comments on commit f4417b4

Please sign in to comment.