From c666c8e2225b7d084a04f3bd5b4b0df94cc1ab5f Mon Sep 17 00:00:00 2001 From: Marc Date: Sat, 24 Apr 2021 06:28:04 +0200 Subject: [PATCH] moved recentf config to its own place --- config.org | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/config.org b/config.org index 3885521..9248c70 100644 --- a/config.org +++ b/config.org @@ -249,14 +249,6 @@ Restore it to reasonable value after init. Also stop garbage collection during m (defconst MY--PATH_START "p:/Eigene Dateien/Notizen/")) (setq recentf-save-file (concat MY--PATH_USER_LOCAL "recentf")) -;; exclude some dirs from spamming recentf -(use-package recentf - :config - (recentf-mode) - (setq recentf-exclude '(".*-autoloads\\.el\\'" - "[/\\]\\elpa/" - "COMMIT_EDITMSG\\'"))) - (setq custom-file (concat MY--PATH_USER_LOCAL "custom.el")) ;; don't spam init.e with saved customization settings (setq backup-directory-alist `((".*" . ,temporary-file-directory))) (setq auto-save-file-name-transforms `((".*" ,temporary-file-directory))) @@ -328,6 +320,20 @@ Some windows specific stuff (setq w32-get-true-file-attributes nil))) #+END_SRC +* recentf +Exclude some dirs from spamming recentf +#+begin_src emacs-lisp +(use-package recentf + :config + (recentf-mode) + :custom + (recentf-exclude '(".*-autoloads\\.el\\'" + "[/\\]\\elpa/" + "COMMIT_EDITMSG\\'")) + (recentf-max-menu-items 600) + (recentf-max-saved-items 600)) +#+end_src + * visuals ** Font :PROPERTIES: