From 29d69d01797af9967d315a81605b6b0da3793bc3 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 9 May 2019 23:57:03 -0400 Subject: emacs: exclude straight.el’s build dir from recentf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .emacs.d/init.org | 8 ++++++++ 1 file changed, 8 insertions(+) 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=: -- cgit v1.2.3-60-g2f50