[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 18718fe: Fix mouse highlighting in Customize buffers
From: |
Lars Ingebrigtsen |
Subject: |
master 18718fe: Fix mouse highlighting in Customize buffers |
Date: |
Sat, 26 Sep 2020 10:36:42 -0400 (EDT) |
branch: master
commit 18718fee7222dc32b30b7be2e443022db5d82f67
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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 8ad99f4..8e2055f 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 18718fe: Fix mouse highlighting in Customize buffers,
Lars Ingebrigtsen <=