From 90c07d3fdd2be9b34d34c7fa98e838a54488a997 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 4 Apr 2023 14:22:56 +0300 Subject: [PATCH] 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. --- doc/lispref/commands.texi | 6 +++--- doc/lispref/frames.texi | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index 62a0939a47e..30765a7e8f7 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi @@ -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 which case the list contains that frame in place of a window. -The special form @code{track-mouse} enables generation of motion -events within its body. Outside of @code{track-mouse} forms, Emacs +The @code{track-mouse} macro enables generation of motion +events within its body. Outside of @code{track-mouse} body, Emacs does not generate events for mere motion of the mouse, and these 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 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 (mouse-movement (# nil (563 . 205) 532301936)) diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index e0766ad0b43..7cae94d2627 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi @@ -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 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 non-@code{nil} value. If that variable has the special value @code{dragging}, it additionally instructs the display engine to -- 2.39.2