]> git.eshelyaron.com Git - emacs.git/commitdiff
Make alias widget-visibility-value-create obsolete
authorStefan Kangas <stefan@marxist.se>
Sat, 6 Aug 2022 12:14:18 +0000 (14:14 +0200)
committerStefan Kangas <stefan@marxist.se>
Sat, 6 Aug 2022 12:14:44 +0000 (14:14 +0200)
* lisp/wid-edit.el (widget-visibility-value-create): Make compat
alias obsolete.

lisp/wid-edit.el

index 5362618247023704e443442fc53425280f0907ec..ec2eb146e9016143b649913b98c278089a6ae646 100644 (file)
@@ -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)