~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce29694
)
dot/emacs: `magit-load-config-extensions' is new, so trap errors.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 6 Apr 2013 16:32:55 +0000
(17:32 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 6 Apr 2013 16:33:01 +0000
(17:33 +0100)
dot/emacs
patch
|
blob
|
blame
|
history
diff --git
a/dot/emacs
b/dot/emacs
index
4309028
..
1449f73
100644
(file)
--- a/
dot/emacs
+++ b/
dot/emacs
@@
-60,7
+60,9
@@
(setq vc-handled-backends (cons 'GIT vc-handled-backends)))
(setq magit-log-cutoff-length 512)
-(add-hook 'magit-mode-hook 'magit-load-config-extensions)
+(defun mdw-magit-try-load-config-extensions ()
+ (trap (magit-load-config-extensions)))
+(add-hook 'magit-mode-hook 'mdw-magit-try-load-config-extensions)
(trap (or mdw-fast-startup (require 'p4)))