mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-25 10:47:00 +00:00
(face-documentation): Renamed from face-doc-string.
(set-face-documentation): Renamed from set-face-doc-string. (face-doc-string): Make this an alias.
This commit is contained in:
parent
209ddde37b
commit
02e0989b51
@ -145,7 +145,8 @@ If FRAME is omitted or nil, use the selected frame."
|
||||
(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 @@ in that frame; otherwise change each frame."
|
||||
(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 @@ selected frame."
|
||||
(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.")))))
|
||||
|
Loading…
Reference in New Issue
Block a user