Another terminology fix in ELisp reference manual

* doc/lispref/frames.texi (Mouse Tracking):
* doc/lispref/commands.texi (Motion Events, Event Examples):
'track-mouse' is a macro, not a special form.
This commit is contained in:
Eli Zaretskii 2023-04-04 14:22:56 +03:00
parent a832bc7090
commit 90c07d3fdd
2 changed files with 4 additions and 4 deletions

View file

@ -1960,8 +1960,8 @@ end-position of a drag event, this position list may represent a
location outside the boundaries of the initially selected frame, in location outside the boundaries of the initially selected frame, in
which case the list contains that frame in place of a window. which case the list contains that frame in place of a window.
The special form @code{track-mouse} enables generation of motion The @code{track-mouse} macro enables generation of motion
events within its body. Outside of @code{track-mouse} forms, Emacs events within its body. Outside of @code{track-mouse} body, Emacs
does not generate events for mere motion of the mouse, and these does not generate events for mere motion of the mouse, and these
events do not appear. @xref{Mouse Tracking}. events do not appear. @xref{Mouse Tracking}.
@ -2443,7 +2443,7 @@ into another window. That produces a pair of events like these:
The frame with input focus might not take up the entire screen, and The frame with input focus might not take up the entire screen, and
the user might move the mouse outside the scope of the frame. Inside the user might move the mouse outside the scope of the frame. Inside
the @code{track-mouse} special form, that produces an event like this: the @code{track-mouse} macro, that produces an event like this:
@smallexample @smallexample
(mouse-movement (#<frame *ielm* 0x102849a30> nil (563 . 205) 532301936)) (mouse-movement (#<frame *ielm* 0x102849a30> nil (563 . 205) 532301936))

View file

@ -3577,7 +3577,7 @@ the mouse position list will be @code{nil} if the value is
@code{drag-source}. This is useful to determine if a frame is not @code{drag-source}. This is useful to determine if a frame is not
directly visible underneath the mouse pointer. directly visible underneath the mouse pointer.
The @code{track-mouse} form causes Emacs to generate mouse motion The @code{track-mouse} macro causes Emacs to generate mouse motion
events by binding the variable @code{track-mouse} to a events by binding the variable @code{track-mouse} to a
non-@code{nil} value. If that variable has the special value non-@code{nil} value. If that variable has the special value
@code{dragging}, it additionally instructs the display engine to @code{dragging}, it additionally instructs the display engine to