From 848c5a4cd5225466eb9960674f08612dc84fff6f Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Sat, 26 Jul 2025 12:48:30 -0400 Subject: [PATCH] Update recentf config in README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 60d32a9..2092341 100644 --- a/README.md +++ b/README.md @@ -305,6 +305,15 @@ The recentf, savehist, saveplace, and auto-revert built-in packages are already (with-eval-after-load "recentf" (add-hook 'kill-emacs-hook #'recentf-cleanup)) +(setq recentf-exclude + (list "\\.tar$" "\\.tbz2$" "\\.tbz$" "\\.tgz$" "\\.bz2$" + "\\.bz$" "\\.gz$" "\\.gzip$" "\\.xz$" "\\.zpaq$" + "\\.lz$" "\\.lrz$" "\\.lzo$" "\\.lzma$" "\\.shar$" + "\\.kgb$" "\\.zip$" "\\.Z$" "\\.7z$" "\\.rar$" + "COMMIT_EDITMSG\\'" + "\\.\\(?:gz\\|gif\\|svg\\|png\\|jpe?g\\|bmp\\|xpm\\)$" + "-autoloads\\.el$" "autoload\\.el$")) + ;; savehist is an Emacs feature that preserves the minibuffer history between ;; sessions. It saves the history of inputs in the minibuffer, such as commands, ;; search strings, and other prompts, to a file. This allows users to retain