From: Stefan Kangas Date: Sat, 6 Aug 2022 08:13:19 +0000 (+0200) Subject: Make face-doc-string aliases obsolete X-Git-Tag: emacs-29.0.90~1447^2~384 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=543b5248db5f11ffee71523bdd6a41b8d03c03ab;p=emacs.git Make face-doc-string aliases obsolete * lisp/faces.el (face-doc-string, set-face-doc-string): Make aliases obsolete. --- diff --git a/lisp/faces.el b/lisp/faces.el index 0418cd4c05f..d75c66f881d 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -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")