aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2001-10-12 16:38:32 +0000
committerStefan Monnier2001-10-12 16:38:32 +0000
commit2cb95d1b7b290372418a3e8c9027de4be2e5d50e (patch)
tree183fe90b81a7b8f528642c0ad723cbab128869ce
parentaab8a6e351caa212567df338ed6ee5c5c51fd416 (diff)
downloademacs-2cb95d1b7b290372418a3e8c9027de4be2e5d50e.tar.gz
emacs-2cb95d1b7b290372418a3e8c9027de4be2e5d50e.zip
(describe-face): Call help-setup-xref earlier.
-rw-r--r--lisp/faces.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 172efc5cd12..2a116d5ad9b 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -302,7 +302,7 @@ If FRAME is omitted or nil, use the selected frame."
302 "*List of X resources and classes for face attributes. 302 "*List of X resources and classes for face attributes.
303Each element has the form (ATTRIBUTE ENTRY1 ENTRY2...) where ATTRIBUTE is 303Each element has the form (ATTRIBUTE ENTRY1 ENTRY2...) where ATTRIBUTE is
304the name of a face attribute, and each ENTRY is a cons of the form 304the name of a face attribute, and each ENTRY is a cons of the form
305(RESOURCE . CLASS) with RESOURCE being the resource and CLASS being the 305\(RESOURCE . CLASS) with RESOURCE being the resource and CLASS being the
306X resource class for the attribute." 306X resource class for the attribute."
307 :type '(repeat (cons symbol (repeat (cons string string)))) 307 :type '(repeat (cons symbol (repeat (cons string string))))
308 :group 'faces) 308 :group 'faces)
@@ -1109,7 +1109,7 @@ If FRAME is omitted or nil, use the selected frame."
1109 (:inherit . "Inherit"))) 1109 (:inherit . "Inherit")))
1110 (max-width (apply #'max (mapcar #'(lambda (x) (length (cdr x))) 1110 (max-width (apply #'max (mapcar #'(lambda (x) (length (cdr x)))
1111 attrs)))) 1111 attrs))))
1112 (require 'help-mode) 1112 (help-setup-xref (list #'describe-face face) (interactive-p))
1113 (with-output-to-temp-buffer (help-buffer) 1113 (with-output-to-temp-buffer (help-buffer)
1114 (save-excursion 1114 (save-excursion
1115 (set-buffer standard-output) 1115 (set-buffer standard-output)
@@ -1129,8 +1129,7 @@ If FRAME is omitted or nil, use the selected frame."
1129 (re-search-backward 1129 (re-search-backward
1130 (concat "\\(" customize-label "\\)") nil t) 1130 (concat "\\(" customize-label "\\)") nil t)
1131 (help-xref-button 1 'help-customize-face face))))) 1131 (help-xref-button 1 'help-customize-face face)))))
1132 (print-help-return-message) 1132 (print-help-return-message))))
1133 (help-setup-xref (list #'describe-face face) (interactive-p)))))
1134 1133
1135 1134
1136;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1135;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;