aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2005-06-22 13:55:32 +0000
committerJuanma Barranquero2005-06-22 13:55:32 +0000
commita1ef2eabbfc147671bb3eb5c403fc91d8e127e6c (patch)
treeeef203138067bfa9e0aa5975392379fe8f3de78d
parent8906db2766b910fba8dd74fbb88447ec36ad5d9a (diff)
downloademacs-a1ef2eabbfc147671bb3eb5c403fc91d8e127e6c.tar.gz
emacs-a1ef2eabbfc147671bb3eb5c403fc91d8e127e6c.zip
(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.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/help-mode.el7
2 files changed, 10 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cca0beb894e..3cdad8fcecb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12005-06-22 Juanma Barranquero <lekktu@gmail.com>
2
3 * help-mode.el (help-make-xrefs): If a symbol representing a face
4 name is not followed by the word "face", it could still be a
5 function or variable name, so don't bypass other checks.
6
12005-06-22 Juri Linkov <juri@jurta.org> 72005-06-22 Juri Linkov <juri@jurta.org>
2 8
3 * ps-print.el (ps-face-foreground-name, ps-face-background-name): 9 * ps-print.el (ps-face-foreground-name, ps-face-background-name):
diff --git a/lisp/help-mode.el b/lisp/help-mode.el
index 1c516930c3b..cd8c6a1c2dc 100644
--- a/lisp/help-mode.el
+++ b/lisp/help-mode.el
@@ -388,9 +388,10 @@ that."
388;;; (pop-to-buffer (car location)) 388;;; (pop-to-buffer (car location))
389;;; (goto-char (cdr location)))) 389;;; (goto-char (cdr location))))
390 (help-xref-button 8 'help-function-def sym)) 390 (help-xref-button 8 'help-function-def sym))
391 ((facep sym) 391 ((and
392 (if (save-match-data (looking-at "[ \t\n]+face\\W")) 392 (facep sym)
393 (help-xref-button 8 'help-face sym))) 393 (save-match-data (looking-at "[ \t\n]+face\\W")))
394 (help-xref-button 8 'help-face sym))
394 ((and (boundp sym) (fboundp sym)) 395 ((and (boundp sym) (fboundp sym))
395 ;; We can't intuit whether to use the 396 ;; We can't intuit whether to use the
396 ;; variable or function doc -- supply both. 397 ;; variable or function doc -- supply both.