Cleanup recentf on idle to decrease boot time.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 27 Jan 2015 22:28:18 +0200
changeset 1197 998763deda98
parent 1196 fd26eef91bf6
child 1198 81709141a539
Cleanup recentf on idle to decrease boot time.
.emacs-my
--- a/.emacs-my	Sat Jan 17 14:35:26 2015 +0200
+++ b/.emacs-my	Tue Jan 27 22:28:18 2015 +0200
@@ -16,7 +16,7 @@
 (when (eq system-type 'cygwin)
   (setq recentf-save-file "~/.recentf-cygwin"))
 
-(setq recentf-auto-cleanup 'mode)
+(setq recentf-auto-cleanup 600)
 ;; Prevent TRAMP to login on remote host when loading. Its take time and ask passwords!
 (setq recentf-keep '(file-remote-p file-readable-p))
 (setq recentf-exclude                   ; Use ``M-x recentf-cleanup`` to update recentf-list.