From: Mark Wooding Date: Thu, 3 Jun 2010 15:55:01 +0000 (+0100) Subject: el/dot-emacs.el: Don't turn on outline-minor-mode all the time. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/ddf6e116b0354c87c7275e37513d9e58507ed5a9?hp=-c el/dot-emacs.el: Don't turn on outline-minor-mode all the time. 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. --- ddf6e116b0354c87c7275e37513d9e58507ed5a9 diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 4cca329..c218411 100644 --- 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)))