about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org26
1 files changed, 16 insertions, 10 deletions
diff --git a/config.org b/config.org index d3ce1f4..68f1b4e 100644 --- a/config.org +++ b/config.org
@@ -340,7 +340,7 @@ Adapted from =midnight-mode=, using suggestions from [[https://old.reddit.com/r/
340 340
341#+begin_src emacs-lisp :noweb-ref packages 341#+begin_src emacs-lisp :noweb-ref packages
342 (unless (fboundp 'clean-buffer-list) 342 (unless (fboundp 'clean-buffer-list)
343 (autoload #'clean-buffer-list "mightnight")) 343 (autoload #'clean-buffer-list "midnight"))
344#+end_src 344#+end_src
345 345
346What time I run the clean up is a little tricky for me, since I use 346What time I run the clean up is a little tricky for me, since I use
@@ -355,8 +355,9 @@ have =clean-buffer-list= run at 8:00 PM.
355 clean-buffer-list-delay-general 5 355 clean-buffer-list-delay-general 5
356 clean-buffer-list-delay-special (* 7 24 60 60)) 356 clean-buffer-list-delay-special (* 7 24 60 60))
357 357
358 (add-to-list 'clean-buffer-list-kill-buffer-names "*Completions*") 358 (with-eval-after-load 'midnight
359 (add-to-list 'clean-buffer-list-kill-buffer-names "*Calendar*") 359 (add-to-list 'clean-buffer-list-kill-buffer-names "*Completions*")
360 (add-to-list 'clean-buffer-list-kill-buffer-names "*Calendar*"))
360#+end_src 361#+end_src
361 362
362** Cursor 363** Cursor
@@ -1149,15 +1150,17 @@ with that.
1149#+end_src 1150#+end_src
1150 1151
1151#+begin_src emacs-lisp :noweb-ref modes 1152#+begin_src emacs-lisp :noweb-ref modes
1152 (recentf-mode +1) 1153 (with-eval-after-load 'recentf
1154 (recentf-mode +1))
1153#+end_src 1155#+end_src
1154 1156
1155I also want to ignore the =no-littering-var-directory= and 1157I also want to ignore the =no-littering-var-directory= and
1156=no-littering-etc-directory=, since those aren't useful. 1158=no-littering-etc-directory=, since those aren't useful.
1157 1159
1158#+begin_src emacs-lisp :noweb-ref no-littering 1160#+begin_src emacs-lisp :noweb-ref no-littering
1159 (add-to-list 'recentf-exclude no-littering-var-directory) 1161 (with-eval-after-load 'recentf
1160 (add-to-list 'recentf-exclude no-littering-etc-directory) 1162 (add-to-list 'recentf-exclude no-littering-var-directory)
1163 (add-to-list 'recentf-exclude no-littering-etc-directory))
1161#+end_src 1164#+end_src
1162 1165
1163*** Save the recentf list periodically 1166*** Save the recentf list periodically
@@ -1175,8 +1178,9 @@ I also want to ignore the =no-littering-var-directory= and
1175#+end_src 1178#+end_src
1176 1179
1177#+begin_src emacs-lisp :noweb-ref hooks 1180#+begin_src emacs-lisp :noweb-ref hooks
1178 (add-function :after after-focus-change-function 1181 (with-eval-after-load 'recentf
1179 #'maybe-save-recentf) 1182 (add-function :after after-focus-change-function
1183 #'maybe-save-recentf))
1180#+end_src 1184#+end_src
1181 1185
1182* Responsiveness 1186* Responsiveness
@@ -3068,8 +3072,10 @@ the repo using git, /then/ run the bootstrap code.
3068** Ignore =straight/build/= 3072** Ignore =straight/build/=
3069 3073
3070#+begin_src emacs-lisp :noweb-ref settings 3074#+begin_src emacs-lisp :noweb-ref settings
3071 (add-to-list 'recentf-exclude (expand-file-name "straight/build/" 3075 (with-eval-after-load 'recentf
3072 user-emacs-directory)) 3076 (add-to-list 'recentf-exclude
3077 (expand-file-name "straight/build/"
3078 user-emacs-directory)))
3073#+end_src 3079#+end_src
3074 3080
3075* System integration 3081* System integration