]> git.eshelyaron.com Git - emacs.git/commit
Fix handling double-click-time nil or t
authorStefan Kangas <stefankangas@gmail.com>
Mon, 2 May 2022 10:03:08 +0000 (12:03 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 2 May 2022 10:03:08 +0000 (12:03 +0200)
commit2fba71cf1fadc9d681e6be250d152cc156bf6a00
tree8a5d496f98bfb0c79095c3ae19a919be1b275c0b
parentf7a6dd4fcc54230630fcba73ca6bda2a413eff24
Fix handling double-click-time nil or t

* lisp/mouse.el (mouse-double-click-time): New function to always
return a number for `double-click-time'.
* lisp/emulation/viper-mous.el (viper-multiclick-timeout):
* lisp/foldout.el (foldout-mouse-swallow-events):
* lisp/help.el (help--read-key-sequence):
* lisp/org/org-mouse.el (org-mouse-show-context-menu): Use
'mouse-double-click-time' instead of 'double-click-time'.
* src/keyboard.c (syms_of_keyboard): Mention
'mouse-double-click-time' in doc string of 'double-click-time'.
* test/lisp/mouse-tests.el (mouse-test-mouse-double-click-time):
New test.
lisp/emulation/viper-mous.el
lisp/foldout.el
lisp/help.el
lisp/mouse.el
lisp/org/org-mouse.el
src/keyboard.c
test/lisp/mouse-tests.el