From 38b67488566de6f7c9b405ae62664b16ab135713 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 28 Jul 2018 10:22:04 +0300 Subject: [PATCH] Update the list of special forms in the ELisp manual * doc/lispref/eval.texi (Special Forms): * doc/lispref/frames.texi (Mouse Tracking): 'track-mouse' is nowadays a macro. (Bug#32284) --- doc/lispref/eval.texi | 3 --- doc/lispref/frames.texi | 10 +++++----- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/doc/lispref/eval.texi b/doc/lispref/eval.texi index 2590de30c79..373b12e79d5 100644 --- a/doc/lispref/eval.texi +++ b/doc/lispref/eval.texi @@ -506,9 +506,6 @@ Emacs Lisp with a reference to where each is described. @item setq-default @pxref{Creating Buffer-Local} -@item track-mouse -@pxref{Mouse Tracking} - @item unwind-protect @pxref{Nonlocal Exits} diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index 2f9bb398865..1e008da2476 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi @@ -3310,10 +3310,10 @@ occur. That is useful, because normally you don't want to track the mouse forever---only until some other event, such as the release of a button. -@defspec track-mouse body@dots{} -This special form executes @var{body}, with generation of mouse motion -events enabled. Typically, @var{body} would use @code{read-event} to -read the motion events and modify the display accordingly. @xref{Motion +@defmac track-mouse body@dots{} +This macro executes @var{body}, with generation of mouse motion events +enabled. Typically, @var{body} would use @code{read-event} to read +the motion events and modify the display accordingly. @xref{Motion Events}, for the format of mouse motion events. The value of @code{track-mouse} is that of the last form in @var{body}. @@ -3333,7 +3333,7 @@ on (@pxref{Pointer Shape}). Therefore, Lisp programs that need the mouse pointer to retain its original shape during dragging should bind @code{track-mouse} to the value @code{dragging} at the beginning of their @var{body}. -@end defspec +@end defmac The usual purpose of tracking mouse motion is to indicate on the screen the consequences of pushing or releasing a button at the current -- 2.39.2