chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9b63bcd
)
el/dot-emacs.el: Don't turn on outline-minor-mode all the time.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 3 Jun 2010 15:55:01 +0000
(16:55 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 3 Jun 2010 15:55:01 +0000
(16:55 +0100)
Instead, only do it if hideshow isn't there. This isn't completely
ideal, but it saves mode-line space, removes a largely pointless thing
from the menu bar, and works pretty well.
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index 4cca329c3c9fab068e604915b1ba22538a8dd4d2..c218411f0d5e8bb198cb96d2e11541e5914b2937 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-746,8
+746,9
@@
(defun mdw-misc-mode-config ()
(mdw-whitespace-mode 1)
(and (fboundp 'gtags-mode)
(gtags-mode))
- (outline-minor-mode t)
- (hs-minor-mode t)
+ (if (fboundp 'hs-minor-mode)
+ (hs-minor-mode t)
+ (outline-minor-mode t))
(reveal-mode t)
(trap (turn-on-font-lock)))