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:
parent
32e2bcb882
commit
2ef581f34c
1 changed files with 5 additions and 2 deletions
|
|
@ -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))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue