New answers tagged

3

This should do it. (defun no-msg (function) "Prevent FUNCTION from showing `Wrote <FILE>' messages. \(The messages are still logged to `*Messages*'.)" (let ((inhibit-message t)) (funcall function))) (advice-add 'recentf-save-list :around 'no-msg) To see the messages again, use (advice-remove 'recentf-save-list 'no-msg).


Top 50 recent answers are included