~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
el/dot-emacs.el: Support for hideshow mode.
[profile]
/
el
/
dot-emacs.el
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index
8d88807
..
65db85a
100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-629,6
+629,7
@@
case."
(setq show-trailing-whitespace t)
(and (fboundp 'gtags-mode)
(gtags-mode))
(setq show-trailing-whitespace t)
(and (fboundp 'gtags-mode)
(gtags-mode))
+ (hs-minor-mode t)
(outline-minor-mode t)
(mdw-set-font))
(outline-minor-mode t)
(mdw-set-font))
@@
-2137,7
+2138,7
@@
strip numbers instead."
(auto-fill-mode 1))
;;;--------------------------------------------------------------------------
(auto-fill-mode 1))
;;;--------------------------------------------------------------------------
-;;; Outline
mode
.
+;;; Outline
and hide/show modes
.
(defun mdw-outline-collapse-all ()
"Completely collapse everything in the entire buffer."
(defun mdw-outline-collapse-all ()
"Completely collapse everything in the entire buffer."
@@
-2148,6
+2149,8
@@
strip numbers instead."
(hide-subtree)
(forward-line))))
(hide-subtree)
(forward-line))))
+(setq hs-hide-comments-when-hiding-all nil)
+
;;;--------------------------------------------------------------------------
;;; Shell mode.
;;;--------------------------------------------------------------------------
;;; Shell mode.