From 880c345e7dd97f974c8d6c349f2dfda9c787c4c6 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 31 Aug 2000 07:03:28 +0000 Subject: [PATCH] (help-make-xrefs): Don't make hyperlinks for incorrect coding systems. --- lisp/help.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/help.el b/lisp/help.el index a6d804c3e6e..a5d9bb22f57 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -1134,7 +1134,7 @@ that." (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 @@ that." (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")) -- 2.39.5