emacs: exclude straight.el’s build dir from recentf
authorAmin Bandali <bandali@gnu.org>
Fri, 10 May 2019 03:57:03 +0000 (23:57 -0400)
committerAmin Bandali <bandali@gnu.org>
Fri, 10 May 2019 03:57:03 +0000 (23:57 -0400)
.emacs.d/init.org

index 4b2d425..51954b6 100644 (file)
@@ -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=: