chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aec3b79
)
el/dot-emacs.el: In hideshow mode, hide the initial comment.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 21 Nov 2009 11:45:13 +0000
(11:45 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 21 Nov 2009 11:45:13 +0000
(11:45 +0000)
It usually contains boring copyright stuff and so on. Other comments
are often more interesting, so we (still) don't hide them.
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index 1112f35599b5b9dfeb1914873b34e0842f740b59..cd0ee1056ae88b82655d34d38e044d3e10482428 100644
(file)
--- 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.