From af76b5929dce018c8b10f7b9864b14bee132729f Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Mon, 23 Sep 2024 21:55:03 -0400 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 275c6d0..223efe4 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,13 @@ For instance, to disable the message "Indentation setup for shell type bash" whe In this example, the `sh-set-shell` function will execute without displaying any messages. +Here is another example to prevent `recentf` from showing messages during saving and cleanup: +```lisp +(with-eval-after-load "recentf" + (be-quiet-advice-add #'recentf-save-list) + (be-quiet-advice-add #'recentf-cleanup)) +``` + ## Frequently asked question ### Are there any other Emacs parameters that can help reduce the output?