# HG changeset patch # User Richard M. Stallman # Date 869724246 0 # Node ID 5aa5fcdc25c12a7499010315ceb81451b4ed3947 # Parent ab4cd3135797376e16cea82b779a689b82ec7709 (face-documentation): Renamed from face-doc-string. (set-face-documentation): Renamed from set-face-doc-string. (face-doc-string): Make this an alias. diff -r ab4cd3135797 -r 5aa5fcdc25c1 lisp/faces.el --- a/lisp/faces.el Thu Jul 24 06:03:00 1997 +0000 +++ b/lisp/faces.el Thu Jul 24 06:04:06 1997 +0000 @@ -145,7 +145,8 @@ (not (equal font (x-make-font-unitalic font))) (memq 'italic font)))) -(defun face-doc-string (face) +(defalias 'face-doc-string 'face-documentation) +(defun face-documentation (face) "Get the documentation string for FACE." (get face 'face-documentation)) @@ -275,7 +276,7 @@ (cond ((eq italic-p nil) (make-face-unitalic face frame t)) (t (make-face-italic face frame t)))) -(defun set-face-doc-string (face string) +(defun set-face-documentation (face string) "Set the documentation string for FACE to STRING." (put face 'face-documentation string)) @@ -1137,7 +1138,7 @@ (princ " Stipple: ") (princ (or (face-stipple face) "none")) (terpri) (terpri) (princ "Documentation:") (terpri) - (let ((doc (face-doc-string face))) + (let ((doc (face-documentation face))) (if doc (princ doc) (princ "not documented as a face.")))))