diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2018-01-30 12:41:29 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2018-01-30 12:41:29 -0500 |
commit | 3d5e31eceb9dc1fb62b2b27bcab549df3bd04ce9 (patch) | |
tree | b999899c84708630250d6772082040024bb6dbbb /lisp/emacs-lisp | |
parent | 9d4af3e6bdfac374f6c9591566c010e6a1514751 (diff) | |
download | emacs-3d5e31eceb9dc1fb62b2b27bcab549df3bd04ce9.tar.gz emacs-3d5e31eceb9dc1fb62b2b27bcab549df3bd04ce9.tar.bz2 emacs-3d5e31eceb9dc1fb62b2b27bcab549df3bd04ce9.zip |
* lisp/mouse.el: Rework the mouse-1-click remapping
Avoid peeking ahead at the next event because this had undesirable effects,
such as making 'this-single-command-raw-keys' return bogus information.
(mouse--last-down): New variable.
(mouse--down-1-maybe-follows-link): Don't do the remapping here.
Instead, just keep track of the time when the down happened.
(mouse--down-1-maybe-follows-link): Do the remapping here.
(key-translation-map): Add bindings for (double-)mouse-1.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions