From: Stefan Monnier Date: Fri, 12 Oct 2001 16:38:32 +0000 (+0000) Subject: (describe-face): Call help-setup-xref earlier. X-Git-Tag: ttn-vms-21-2-B4~19527 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2cb95d1b7b290372418a3e8c9027de4be2e5d50e;p=emacs.git (describe-face): Call help-setup-xref earlier. --- 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." "*List of X resources and classes for face attributes. Each element has the form (ATTRIBUTE ENTRY1 ENTRY2...) where ATTRIBUTE is the name of a face attribute, and each ENTRY is a cons of the form -(RESOURCE . CLASS) with RESOURCE being the resource and CLASS being the +\(RESOURCE . CLASS) with RESOURCE being the resource and CLASS being the X resource class for the attribute." :type '(repeat (cons symbol (repeat (cons string string)))) :group 'faces) @@ -1109,7 +1109,7 @@ If FRAME is omitted or nil, use the selected frame." (:inherit . "Inherit"))) (max-width (apply #'max (mapcar #'(lambda (x) (length (cdr x))) attrs)))) - (require 'help-mode) + (help-setup-xref (list #'describe-face face) (interactive-p)) (with-output-to-temp-buffer (help-buffer) (save-excursion (set-buffer standard-output) @@ -1129,8 +1129,7 @@ If FRAME is omitted or nil, use the selected frame." (re-search-backward (concat "\\(" customize-label "\\)") nil t) (help-xref-button 1 'help-customize-face face))))) - (print-help-return-message) - (help-setup-xref (list #'describe-face face) (interactive-p))))) + (print-help-return-message)))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;