From ddf6e116b0354c87c7275e37513d9e58507ed5a9 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 3 Jun 2010 16:55:01 +0100 Subject: [PATCH] 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. --- el/dot-emacs.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 @@ case." (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))) -- 2.11.0