Fix regressions in Customize caused by 'widget-unselected' face

* lisp/wid-edit.el (widget-checklist-add-item): Don't call
'widget-specify-selected'.  (Bug#72404)  (Bug#72156)
This commit is contained in:
Stephen Berman 2024-08-01 19:28:04 +02:00 committed by Eli Zaretskii
parent f94d58008e
commit db1f749db5

View file

@ -2549,7 +2549,10 @@ If the item is checked, CHOSEN is a cons whose cdr is the value."
(t
(widget-create-child-value
widget type (car (cdr chosen)))
(widget-specify-selected child)))))
;; This somehow breaks :options and other
;; Custom features.
;; (widget-specify-selected child)
))))
(t
(error "Unknown escape `%c'" escape)))))
;; Update properties.