diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-03-08 23:15:53 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-03-08 23:15:53 -0500 |
commit | 27a98a62d1c46b057428cc3ed964743b69628299 (patch) | |
tree | fdc16fac06dcfa759f0d02e281a92cabc000ab5e /lisp/emacs-lisp/lisp-mode.el | |
parent | c410dad5e907d7780b83eacf2ad8990294c920b8 (diff) | |
download | emacs-27a98a62d1c46b057428cc3ed964743b69628299.tar.gz emacs-27a98a62d1c46b057428cc3ed964743b69628299.tar.bz2 emacs-27a98a62d1c46b057428cc3ed964743b69628299.zip |
Separate mouse-1-click-follows-link from mouse-drag-region.
* lisp/mouse.el (mouse--down-1-maybe-follows-link): New function.
(key-translation-map): Use it to implement mouse-1-click-follows-link.
(mouse-drag-line, mouse-drag-track): Remove mouse-1-click-follows-link code.
(mouse--remap-link-click-p): Remove.
* src/keyboard.c (access_keymap_keyremap): Accept nil return value from
functions to mean "no change".
* src/keyboard.h (EVENT_START, EVENT_END, POSN_WINDOW, POSN_POSN)
(POSN_WINDOW_POSN, POSN_TIMESTAMP): Be careful since events may come
from Elisp via unread-command-events.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions