Hide backups and org-gcal files from the recentf list

This commit is contained in:
Jeremy Dormitzer 2020-07-21 09:43:48 -04:00
parent 20e3f3c43e
commit 5158ac7707

View File

@ -3790,15 +3790,14 @@ Instead of the *GNU Emacs* buffer on startup, display a cool dashboard:
(dashboard-setup-startup-hook)
#+END_SRC
For some reason Emacs is starting up with the dashboard and the *scratch* buffer open in a split configuration. Not sure why, but let's put a stop to that...
And hide some files from the recentf list:
#+BEGIN_SRC emacs-lisp
(add-hook
'after-init-hook
(lambda ()
(switch-to-buffer "*dashboard*")
(delete-other-windows)))
(with-eval-after-load 'recentf
(setq recentf-exclude '(".*gcal.org"
#'backup-file-name-p)))
#+END_SRC
* Email
I use [[https://www.djcbsoftware.nl/code/mu/mu4e.html][mu/mu4e]] as my email client.