diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-03-18 06:44:10 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-03-18 06:44:10 +0000 |
commit | 2ef581f34c321c4878a66b8af47fe921a479b612 (patch) | |
tree | 012a00604e9bad69f84b45941a198d1e24f8a648 /lisp | |
parent | 32e2bcb8829effa897023eb50dbdf7a63f1a0951 (diff) | |
download | emacs-2ef581f34c321c4878a66b8af47fe921a479b612.tar.gz |
(describe-mode): Handle minor mode w/o mode line indicator.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/help.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/help.el b/lisp/help.el index ff1a4013c7b..ff1e9c8da1b 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -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)))) |