Next: Symbol Completion, Previous: Documentation, Up: Programs
Hideshow minor mode provides selective display of portions of a
program, known as blocks. You can use M-x hs-minor-mode
to enable or disable this mode, or add hs-minor-mode
to the
mode hook for certain major modes in order to enable it automatically
for those modes.
Just what constitutes a block depends on the major mode. In C mode or C++ mode, they are delimited by braces, while in Lisp mode and similar modes they are delimited by parentheses. Multi-line comments also count as blocks.
hs-hide-block
).
hs-show-block
).
hs-toggle-hiding
).
hs-mouse-toggle-hiding
).
hs-hide-all
).
hs-show-all
).
hs-hide-level
).
These variables exist for customizing Hideshow mode.
hs-hide-comments-when-hiding-all
nil
says that hs-hide-all should hide comments too.
hs-isearch-open
code
comment
t
nil
hs-special-modes-alist