diff options
author | Alan Pearce | 2013-04-29 15:12:52 +0100 |
---|---|---|
committer | Alan Pearce | 2013-04-29 15:12:52 +0100 |
commit | 9499ba6479c2327f9dd5934d4363b7208d448e3d (patch) | |
tree | 4fc3c5b7137a2368f0838269dd7c40a7b679865d /emacs | |
parent | 013d5edee83289778828c39a1efd43b19843bde6 (diff) | |
download | nixfiles-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.el | 3 |
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" |