Function: internal--track-mouse

internal--track-mouse is a function defined in keyboard.c.

Signature

(internal--track-mouse BODYFUN)

Documentation

Call BODYFUN with mouse movement events enabled.

Source Code

// Defined in /usr/src/emacs/src/keyboard.c
{
  ptrdiff_t count = SPECPDL_INDEX ();
  Lisp_Object val;

  record_unwind_protect (tracking_off, track_mouse);

  track_mouse = Qt;

  val = call0 (bodyfun);
  return unbind_to (count, val);
}