From 9499ba6479c2327f9dd5934d4363b7208d448e3d Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 29 Apr 2013 15:12:52 +0100 Subject: Emacs: choose magit extensions based upon git configuration --- emacs/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs/init.el') 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" -- cgit 1.4.1