Variable: double-click-time

double-click-time is a customizable variable defined in keyboard.c.

Value

500

Documentation

Maximum time between mouse clicks to make a double-click.

Measured in milliseconds. The value nil means disable double-click recognition; t means double-clicks have no time limit and are detected by position only.

In Lisp, you might want to use mouse-double-click-time instead of reading the value of this variable directly.

View in manual

Probably introduced at or before Emacs version 19.16.

Source Code

// Defined in /usr/src/emacs/src/keyboard.c
  DEFVAR_LISP ("double-click-time", Vdouble_click_time,
	       doc: /* Maximum time between mouse clicks to make a double-click.
Measured in milliseconds.  The value nil means disable double-click
recognition; t means double-clicks have no time limit and are detected
by position only.

In Lisp, you might want to use `mouse-double-click-time' instead of
reading the value of this variable directly.  */);