~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
581424f
)
dot-emacs.el: Trap errors when trying to start `hs-minor-mode'.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 2 Apr 2013 01:39:49 +0000
(
02:39
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 2 Apr 2013 01:50:43 +0000
(
02:50
+0100)
It doesn't play nicely with some major modes.
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index
850db10
..
d5bda69
100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-757,7
+757,7
@@
case."
(and (fboundp 'gtags-mode)
(gtags-mode))
(if (fboundp 'hs-minor-mode)
- (
hs-minor-mode t
)
+ (
trap (hs-minor-mode t)
)
(outline-minor-mode t))
(reveal-mode t)
(trap (turn-on-font-lock)))