From: Amin Bandali Date: Fri, 10 May 2019 03:57:03 +0000 (-0400) Subject: emacs: exclude straight.el’s build dir from recentf X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/29d69d01797af9967d315a81605b6b0da3793bc3 emacs: exclude straight.el’s build dir from recentf --- diff --git a/.emacs.d/init.org b/.emacs.d/init.org index 4b2d425..51954b6 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -297,6 +297,14 @@ integration, we will define a =use-feature= for plain ole ,@args)) #+end_src +While at it, let's exclude =straight.el='s build from recentf: + +#+begin_src emacs-lisp +(with-eval-after-load 'recentf + (add-to-list 'recentf-exclude + (expand-file-name "~/.emacs.d/straight/build/"))) +#+end_src + Also, here's a useful function for reloading the init file (useful after running =straight-check-all=: