aboutsummaryrefslogtreecommitdiff
path: root/config/emacs/emacs.d/emacs.org
diff options
context:
space:
mode:
authorKenny Ballou <kb@devnulllabs.io>2024-04-03 10:08:28 -0600
committerKenny Ballou <kb@devnulllabs.io>2024-04-03 10:08:28 -0600
commit60f513ccfb8354ca7503cad76887b0bf8526a606 (patch)
treedb71552946fb5682ad8ae148a7e570de30afd54a /config/emacs/emacs.d/emacs.org
parentac97867bef1763dfcf89647ad60071fd48836263 (diff)
downloaddotfiles-60f513ccfb8354ca7503cad76887b0bf8526a606.tar.gz
dotfiles-60f513ccfb8354ca7503cad76887b0bf8526a606.tar.xz
config: emacs: only disable if loaded
Guard disabling projectile to when/if it is loaded. No need to disable if it is not around in the first place. Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
Diffstat (limited to 'config/emacs/emacs.d/emacs.org')
-rw-r--r--config/emacs/emacs.d/emacs.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/emacs/emacs.d/emacs.org b/config/emacs/emacs.d/emacs.org
index 873facaf..1ed49ad8 100644
--- a/config/emacs/emacs.d/emacs.org
+++ b/config/emacs/emacs.d/emacs.org
@@ -2050,7 +2050,9 @@ https://www.reddit.com/r/emacs/comments/96r8us/tip_how_to_get_started_with_git/
#+end_src
#+begin_src elisp
-(projectile-mode -1)
+(with-eval-after-load 'projectile
+ (projectile-mode -1)
+ )
#+end_src
*** Project.el