diff options
author | Amin Bandali <bandali@gnu.org> | 2019-05-09 23:57:03 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2019-05-09 23:57:03 -0400 |
commit | 29d69d01797af9967d315a81605b6b0da3793bc3 (patch) | |
tree | 68ddfe0a5cd17033c4c8d20f0af471df771d6089 | |
parent | 1f910cc05731951c98556d09a441ca29afed2955 (diff) | |
download | configs-29d69d01797af9967d315a81605b6b0da3793bc3.tar.gz configs-29d69d01797af9967d315a81605b6b0da3793bc3.tar.xz configs-29d69d01797af9967d315a81605b6b0da3793bc3.zip |
emacs: exclude straight.el’s build dir from recentf
-rw-r--r-- | .emacs.d/init.org | 8 |
1 files changed, 8 insertions, 0 deletions
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=: |