]> git.eshelyaron.com Git - emacs.git/commitdiff
Make face-doc-string aliases obsolete
authorStefan Kangas <stefan@marxist.se>
Sat, 6 Aug 2022 08:13:19 +0000 (10:13 +0200)
committerStefan Kangas <stefan@marxist.se>
Sat, 6 Aug 2022 10:52:42 +0000 (12:52 +0200)
* lisp/faces.el (face-doc-string, set-face-doc-string): Make
aliases obsolete.

lisp/faces.el

index 0418cd4c05fc9c8dc93f93b0b8eba9e8a19547e5..d75c66f881dc165fa686cb831a0426b55ecb6345 100644 (file)
@@ -657,8 +657,8 @@ If FACE is a face-alias, get the documentation for the target face."
   (put face 'face-documentation (purecopy string)))
 
 
-(defalias 'face-doc-string 'face-documentation)
-(defalias 'set-face-doc-string 'set-face-documentation)
+(define-obsolete-function-alias 'face-doc-string #'face-documentation "29.1")
+(define-obsolete-function-alias 'set-face-doc-string #'set-face-documentation "29.1")
 
 
 \f