From 18718fee7222dc32b30b7be2e443022db5d82f67 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 26 Sep 2020 16:36:31 +0200 Subject: [PATCH] Fix mouse highlighting in Customize buffers * lisp/wid-edit.el (widget-button-click): Remove a newly-introduced check that made mouse highlights no longer work (bug#43612). It's unclear what the check was trying to fix. --- lisp/wid-edit.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index 8ad99f49aa1..8e2055f9185 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el @@ -1057,9 +1057,8 @@ If nothing was called, return non-nil." pos 'button (and (windowp (posn-window start)) (window-buffer (posn-window start)))))) - (when (and (widget-get button :button-overlay) - (or (null button) - (widget-button--check-and-call-button event button))) + (when (or (null button) + (widget-button--check-and-call-button event button)) (let ((up t) command) ;; Mouse click not on a widget button. Find the global -- 2.39.5