From 543b5248db5f11ffee71523bdd6a41b8d03c03ab Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 6 Aug 2022 10:13:19 +0200 Subject: [PATCH] Make face-doc-string aliases obsolete * lisp/faces.el (face-doc-string, set-face-doc-string): Make aliases obsolete. --- lisp/faces.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") -- 2.39.2