1
0
Fork 0

Silence ‘recentf-save-list’

‘recentf-save-list’ sends a message that it’s saving the recentf list, but
seeing that after every time I don’t do something for 10 seconds in Emacs gets a
little annoying.
This commit is contained in:
Tom Willemse 2020-04-26 15:31:23 -07:00
parent 45912e58b9
commit 18807d5461

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2020.0407.212814 ;; Version: 2020.0426.153115
;; Package-Requires: (oni-data-dir expand-region multiple-cursors embrace helpful) ;; Package-Requires: (oni-data-dir expand-region multiple-cursors embrace helpful)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -149,7 +149,12 @@
(unless oni-core--recentf-idle-timer (unless oni-core--recentf-idle-timer
(setq oni-core--recentf-idle-timer (setq oni-core--recentf-idle-timer
(run-with-idle-timer 10 t 'recentf-save-list))) (run-with-idle-timer
10
t
(lambda ()
(let ((inhibit-message t))
(recentf-save-list))))))
(electric-indent-mode -1) (electric-indent-mode -1)
(winner-mode) (winner-mode)