aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-04-25 18:11:33 +0000
committerRichard M. Stallman1997-04-25 18:11:33 +0000
commit64b26d5cb515bb0f58053aad8e61daa81f6696ef (patch)
tree19846a6bccd0640a1ecfb3fac57e11ee2e434f66
parent2be7e3fa335d8ff9b0067d4d09e93acaefac2288 (diff)
downloademacs-64b26d5cb515bb0f58053aad8e61daa81f6696ef.tar.gz
emacs-64b26d5cb515bb0f58053aad8e61daa81f6696ef.zip
(describe-face): Add documentation.
-rw-r--r--lisp/faces.el8
1 files changed, 7 insertions, 1 deletions
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."
1072 (princ "Background: ") (princ (face-background face)) (terpri) 1072 (princ "Background: ") (princ (face-background face)) (terpri)
1073 (princ " Font: ") (princ (face-font face)) (terpri) 1073 (princ " Font: ") (princ (face-font face)) (terpri)
1074 (princ "Underlined: ") (princ (if (face-underline-p face) "yes" "no")) (terpri) 1074 (princ "Underlined: ") (princ (if (face-underline-p face) "yes" "no")) (terpri)
1075 (princ " Stipple: ") (princ (or (face-stipple face) "none")))) 1075 (princ " Stipple: ") (princ (or (face-stipple face) "none")) (terpri)
1076 (terpri)
1077 (princ "Documentation:") (terpri)
1078 (let ((doc (face-doc-string face)))
1079 (if doc
1080 (princ doc)
1081 (princ "not documented as a face.")))))
1076 1082
1077;;; Make the standard faces. 1083;;; Make the standard faces.
1078;;; The C code knows the default and modeline faces as faces 0 and 1, 1084;;; The C code knows the default and modeline faces as faces 0 and 1,