diff lisp/help.el @ 31306:15e7eab87754

(help-make-xrefs): Don't make hyperlinks for incorrect coding systems.
author Kenichi Handa <handa@m17n.org>
date Thu, 31 Aug 2000 07:03:28 +0000
parents c3f064fd988f
children 5114aeb0f8e6
line wrap: on
line diff
--- a/lisp/help.el	Thu Aug 31 07:03:03 2000 +0000
+++ b/lisp/help.el	Thu Aug 31 07:03:28 2000 +0000
@@ -1134,7 +1134,7 @@
 			     (sym (intern-soft data)))
 			(cond
 			 ((match-string 3) ; coding system
-			  (and (coding-system-p sym)
+			  (and sym (coding-system-p sym)
 			       (help-xref-button
 				5 #'describe-coding-system sym
 				"mouse-2, RET: describe this coding system")))
@@ -1143,7 +1143,7 @@
 			       (help-xref-button
 				5 #'describe-input-method data
 				"mouse-2, RET: describe this input method")))
-			 ((coding-system-p sym)
+			 ((and sym (coding-system-p sym))
 			  (help-xref-button
 			   5 #'describe-coding-system sym
 			   "mouse-2, RET: describe this coding system"))