HideShow mode

M-x hs-minor-mode

I think I rather like hs-hide-all…

(defun sacha/hs-minor-mode-hide-all ()
  "Turn on `hs-minor-mode' and hide everything."
  (hs-minor-mode 1)
  (hs-hide-all))

(add-hook 'emacs-lisp-mode-hook 'sacha/hs-minor-mode-hide-all t)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>