Update recentf config in README.md

This commit is contained in:
James Cherti
2025-07-26 12:48:30 -04:00
parent 379131cdc2
commit 848c5a4cd5

View File

@@ -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