I've configured Emacs to save recentf every five minutes by using this code:

(run-at-time nil (* 5 60) 'recentf-save-list)

It works great, but after writing recentf Emacs feels it has to tell me about it, so every 5 minutes I get a message in the minibuffer telling me it wrote recentf.

How do I silence that message?

1 Answer 1


One solution for that narrow case is to dynamically set save-silently for that invocation specific invocation. Try:

(run-at-time nil (* 5 60)
             (lambda ()
               (let ((save-silently t))

You might alternatively use advice to globally accomplish the same thing. See Advising Functions in the Emacs Lisp Manual.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.