diff lisp/help.el @ 23742:8c57752f8e9c

(describe-mode): Don't avoid loop indirecting thru value of INDICATOR.
author Richard M. Stallman <rms@gnu.org>
date Sat, 21 Nov 1998 22:24:50 +0000
parents 0146ed131b2a
children fb3963445995
line wrap: on
line diff
--- a/lisp/help.el	Sat Nov 21 03:19:52 1998 +0000
+++ b/lisp/help.el	Sat Nov 21 22:24:50 1998 +0000
@@ -349,7 +349,9 @@
 			  (capitalize
 			   (substring (symbol-name minor-mode)
 				      0 (match-beginning 0)))))
-		(while (and indicator (symbolp indicator))
+		(while (and indicator (symbolp indicator)
+			    (boundp indicator)
+			    (not (eq indicator (symbol-value indicator))))
 		  (setq indicator (symbol-value indicator)))
 		(if first
 		    (princ "The minor modes are described first,