From 29d69d01797af9967d315a81605b6b0da3793bc3 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 9 May 2019 23:57:03 -0400 Subject: [PATCH] =?utf8?q?emacs:=20exclude=20straight.el=E2=80=99s=20build?= =?utf8?q?=20dir=20from=20recentf?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 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=: -- 2.20.1