X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/0e7d960b998e7c6dc781dc37cb703cdb32232a5f..faf2cef79a29d343c41d99a714cd9bcc8be720e2:/el/dot-emacs.el diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 8d88807..65db85a 100644 --- 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)) + (hs-minor-mode t) (outline-minor-mode t) (mdw-set-font)) @@ -2137,7 +2138,7 @@ strip numbers instead." (auto-fill-mode 1)) ;;;-------------------------------------------------------------------------- -;;; Outline mode. +;;; Outline and hide/show modes. (defun mdw-outline-collapse-all () "Completely collapse everything in the entire buffer." @@ -2148,6 +2149,8 @@ strip numbers instead." (hide-subtree) (forward-line)))) +(setq hs-hide-comments-when-hiding-all nil) + ;;;-------------------------------------------------------------------------- ;;; Shell mode.