From: Mark Wooding Date: Sat, 21 Nov 2009 11:45:13 +0000 (+0000) Subject: el/dot-emacs.el: In hideshow mode, hide the initial comment. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/b200af264adeb1c362508740e601d0b8792a49a5?ds=sidebyside;hp=--cc el/dot-emacs.el: In hideshow mode, hide the initial comment. It usually contains boring copyright stuff and so on. Other comments are often more interesting, so we (still) don't hide them. --- b200af264adeb1c362508740e601d0b8792a49a5 diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 1112f35..cd0ee10 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -2236,6 +2236,9 @@ (defun mdw-outline-collapse-all () (setq hs-hide-comments-when-hiding-all nil) +(defadvice hs-hide-all (after hide-first-comment activate) + (hs-hide-initial-comment-block)) + ;;;-------------------------------------------------------------------------- ;;; Shell mode.