From 2ef581f34c321c4878a66b8af47fe921a479b612 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 18 Mar 1996 06:44:10 +0000 Subject: [PATCH] (describe-mode): Handle minor mode w/o mode line indicator. --- lisp/help.el | 7 +++++-- 1 file 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)))) -- 2.39.2