From: Richard M. Stallman Date: Mon, 18 Mar 1996 06:44:10 +0000 (+0000) Subject: (describe-mode): Handle minor mode w/o mode line indicator. X-Git-Tag: emacs-19.34~1028 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2ef581f34c321c4878a66b8af47fe921a479b612;p=emacs.git (describe-mode): Handle minor mode w/o mode line indicator. --- 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))))