Function: describe-minor-mode
describe-minor-mode is an interactive and byte-compiled function
defined in help.el.gz.
Signature
(describe-minor-mode MINOR-MODE)
Documentation
Display documentation of a minor mode given as MINOR-MODE.
MINOR-MODE can be a minor mode symbol or a minor mode indicator string appeared on the mode-line.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/help.el.gz
(defun describe-minor-mode (minor-mode)
"Display documentation of a minor mode given as MINOR-MODE.
MINOR-MODE can be a minor mode symbol or a minor mode indicator string
appeared on the mode-line."
(interactive (list (completing-read
"Minor mode: "
(nconc
(describe-minor-mode-completion-table-for-symbol)
(describe-minor-mode-completion-table-for-indicator)
))))
(if (symbolp minor-mode)
(setq minor-mode (symbol-name minor-mode)))
(let ((symbols (describe-minor-mode-completion-table-for-symbol))
(indicators (describe-minor-mode-completion-table-for-indicator)))
(cond
((member minor-mode symbols)
(describe-minor-mode-from-symbol (intern minor-mode)))
((member minor-mode indicators)
(describe-minor-mode-from-indicator minor-mode))
(t
(error "No such minor mode: %s" minor-mode)))))