Commit a1ef2eab authored by Juanma Barranquero's avatar Juanma Barranquero

(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.
parent 8906db27
2005-06-22 Juanma Barranquero <lekktu@gmail.com>
* help-mode.el (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.
2005-06-22 Juri Linkov <juri@jurta.org>
* ps-print.el (ps-face-foreground-name, ps-face-background-name):
......
......@@ -388,9 +388,10 @@ that."
;;; (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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment