[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 72166f2: Bind `widget-button-click' to mouse-1/-2 i
From: |
Martin Rudalics |
Subject: |
[Emacs-diffs] master 72166f2: Bind `widget-button-click' to mouse-1/-2 instead of down-mouse-1/-2 |
Date: |
Tue, 03 May 2016 06:39:44 +0000 |
branch: master
commit 72166f2f3dba18f1217c666574032f5a0351ed65
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>
Bind `widget-button-click' to mouse-1/-2 instead of down-mouse-1/-2
* lisp/wid-edit.el (widget-keymap): Bind `widget-button-click'
to mouse-1/-2 instead of down-mouse-1/-2. Suggested by Stefan
Monnier. (Bug#19185, Bug#20398)
---
lisp/wid-edit.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el
index f0054be..0a0f458 100644
--- a/lisp/wid-edit.el
+++ b/lisp/wid-edit.el
@@ -852,8 +852,8 @@ button end points."
(define-key map [(shift tab)] 'widget-backward)
(put 'widget-backward :advertised-binding [(shift tab)])
(define-key map [backtab] 'widget-backward)
- (define-key map [down-mouse-2] 'widget-button-click)
- (define-key map [down-mouse-1] 'widget-button-click)
+ (define-key map [mouse-2] 'widget-button-click)
+ (define-key map [mouse-1] 'widget-button-click)
;; The following definition needs to avoid using escape sequences that
;; might get converted to ^M when building loaddefs.el
(define-key map [(control ?m)] 'widget-button-press)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 72166f2: Bind `widget-button-click' to mouse-1/-2 instead of down-mouse-1/-2,
Martin Rudalics <=