From 64b26d5cb515bb0f58053aad8e61daa81f6696ef Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 25 Apr 1997 18:11:33 +0000 Subject: [PATCH] (describe-face): Add documentation. --- lisp/faces.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/faces.el b/lisp/faces.el index d65bc1b019e..9c12fe34ff5 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -1072,7 +1072,13 @@ selected frame." (princ "Background: ") (princ (face-background face)) (terpri) (princ " Font: ") (princ (face-font face)) (terpri) (princ "Underlined: ") (princ (if (face-underline-p face) "yes" "no")) (terpri) - (princ " Stipple: ") (princ (or (face-stipple face) "none")))) + (princ " Stipple: ") (princ (or (face-stipple face) "none")) (terpri) + (terpri) + (princ "Documentation:") (terpri) + (let ((doc (face-doc-string face))) + (if doc + (princ doc) + (princ "not documented as a face."))))) ;;; Make the standard faces. ;;; The C code knows the default and modeline faces as faces 0 and 1, -- 2.39.5