summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-04-29 15:12:52 +0100
committerAlan Pearce2013-04-29 15:12:52 +0100
commit9499ba6479c2327f9dd5934d4363b7208d448e3d (patch)
tree4fc3c5b7137a2368f0838269dd7c40a7b679865d /emacs
parent013d5edee83289778828c39a1efd43b19843bde6 (diff)
downloadnixfiles-9499ba6479c2327f9dd5934d4363b7208d448e3d.tar.lz
nixfiles-9499ba6479c2327f9dd5934d4363b7208d448e3d.tar.zst
nixfiles-9499ba6479c2327f9dd5934d4363b7208d448e3d.zip
Emacs: choose magit extensions based upon git configuration
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 577791d7..2953cdff 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -662,7 +662,8 @@ Also returns nil if pid is nil."
 
 (use-package magit
   :commands (magit-status)
-  :bind (("C-x g" . magit-status)))
+  :bind (("C-x g" . magit-status))
+  :init (add-hook 'magit-mode-hook #'magit-load-config-extensions))
 
 ;;;; Spelling
 (setq ispell-program-name "aspell"