From: Stefan Kangas Date: Sat, 6 Aug 2022 12:14:18 +0000 (+0200) Subject: Make alias widget-visibility-value-create obsolete X-Git-Tag: emacs-29.0.90~1447^2~378 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fc450db22617ac4d964a64c992a6f4b7581b9cd7;p=emacs.git Make alias widget-visibility-value-create obsolete * lisp/wid-edit.el (widget-visibility-value-create): Make compat alias obsolete. --- 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)