# HG changeset patch # User Juanma Barranquero # Date 1119448436 0 # Node ID 06603f5724edc8220cbbb98ad55a2ca0153b9080 # Parent ded0bd7f2a3844b1449c6953a68f1848366a4fe0 (help-make-xrefs): If a symbol representing a face name is not followed by the word "face", it could still be a function or variable name, so don't bypass other checks. diff -r ded0bd7f2a38 -r 06603f5724ed lisp/help-mode.el --- a/lisp/help-mode.el Wed Jun 22 12:07:36 2005 +0000 +++ b/lisp/help-mode.el Wed Jun 22 13:53:56 2005 +0000 @@ -388,9 +388,10 @@ ;;; (pop-to-buffer (car location)) ;;; (goto-char (cdr location)))) (help-xref-button 8 'help-function-def sym)) - ((facep sym) - (if (save-match-data (looking-at "[ \t\n]+face\\W")) - (help-xref-button 8 'help-face sym))) + ((and + (facep sym) + (save-match-data (looking-at "[ \t\n]+face\\W"))) + (help-xref-button 8 'help-face sym)) ((and (boundp sym) (fboundp sym)) ;; We can't intuit whether to use the ;; variable or function doc -- supply both.