From: Mark Wooding Date: Thu, 28 Mar 2013 00:02:38 +0000 (+0000) Subject: dot/emacs: Turn on Magit extensions based on Git config. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/596c5c5fd32e20997b49312af1aae8fd588a0f69 dot/emacs: Turn on Magit extensions based on Git config. Add a `magit.extension = FOO' line to the repository's Git config to make the magic happen. --- diff --git a/dot/emacs b/dot/emacs index fbfd3db..54bb325 100644 --- a/dot/emacs +++ b/dot/emacs @@ -60,6 +60,7 @@ (setq vc-handled-backends (cons 'GIT vc-handled-backends))) (setq magit-log-cutoff-length 512) +(add-hook 'magit-mode-hook 'magit-load-config-extensions) (trap (or mdw-fast-startup (require 'p4)))