changeset 18936:5aa5fcdc25c1

(face-documentation): Renamed from face-doc-string. (set-face-documentation): Renamed from set-face-doc-string. (face-doc-string): Make this an alias.
author Richard M. Stallman <rms@gnu.org>
date Thu, 24 Jul 1997 06:04:06 +0000
parents ab4cd3135797
children ddb91108a9d2
files lisp/faces.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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.")))))