From fc450db22617ac4d964a64c992a6f4b7581b9cd7 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 6 Aug 2022 14:14:18 +0200 Subject: [PATCH] Make alias widget-visibility-value-create obsolete * lisp/wid-edit.el (widget-visibility-value-create): Make compat alias obsolete. --- lisp/wid-edit.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index 53626182470..ec2eb146e90 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el @@ -3043,12 +3043,10 @@ The following properties have special meanings for this widget: :on "Hide" :off-glyph "right" :off "Show" - :value-create 'widget-visibility-value-create + :value-create 'widget-toggle-value-create :action 'widget-toggle-action :match (lambda (_widget _value) t)) -(defalias 'widget-visibility-value-create 'widget-toggle-value-create) - ;;; The `documentation-link' Widget. ;; ;; This is a helper widget for `documentation-string'. @@ -4143,9 +4141,9 @@ is inline." (setq help-echo (funcall help-echo widget))) (if help-echo (message "%s" (eval help-echo))))) -;;; Obsolete. - (define-obsolete-function-alias 'widget-sublist #'seq-subseq "28.1") +(define-obsolete-function-alias 'widget-visibility-value-create + #'widget-toggle-value-create "29.1") (provide 'wid-edit) -- 2.39.2