1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(describe-mode): Handle minor mode w/o mode line indicator.

This commit is contained in:
Richard M. Stallman 1996-03-18 06:44:10 +00:00
parent 32e2bcb882
commit 2ef581f34c

View file

@ -334,8 +334,11 @@ describes the minor mode."
0 (match-beginning 0)))))
(while (and indicator (symbolp indicator))
(setq indicator (symbol-value indicator)))
(princ (format "%s minor mode (indicator%s):\n"
pretty-minor-mode indicator))
(princ (format "%s minor mode (%s):\n"
pretty-minor-mode
(if indicator
(format "indicator%s" indicator)
"no indicator")))
(princ (documentation minor-mode))
(princ "\n\n"))))
(setq minor-modes (cdr minor-modes))))