Variable: hs-headline
hs-headline is a variable defined in hideshow.el.gz.
Value
nil
Documentation
Text of the line where a hidden block begins, set during isearch.
You can display this in the mode line by adding the symbol hs-headline
to the variable mode-line-format. For example:
(unless (memq 'hs-headline mode-line-format)
(setq mode-line-format
(append '("-" hs-headline) mode-line-format)))
Note that mode-line-format is buffer-local.
Probably introduced at or before Emacs version 21.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
(defvar hs-headline nil
"Text of the line where a hidden block begins, set during isearch.
You can display this in the mode line by adding the symbol `hs-headline'
to the variable `mode-line-format'. For example:
(unless (memq \\='hs-headline mode-line-format)
(setq mode-line-format
(append \\='(\"-\" hs-headline) mode-line-format)))
Note that `mode-line-format' is buffer-local.")