emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-30 db1f749db55 2/2: Fix regressions in Customize caused by 'widget


From: Eli Zaretskii
Subject: emacs-30 db1f749db55 2/2: Fix regressions in Customize caused by 'widget-unselected' face
Date: Sun, 4 Aug 2024 03:48:17 -0400 (EDT)

branch: emacs-30
commit db1f749db5560611f58c000b9582174b9187e045
Author: Stephen Berman <stephen.berman@gmx.net>
Commit: Eli Zaretskii <eliz@gnu.org>

    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)
---
 lisp/wid-edit.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el
index 693991a6f3e..e7e6351fcab 100644
--- a/lisp/wid-edit.el
+++ b/lisp/wid-edit.el
@@ -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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]