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)
This commit is contained in:
parent
8579105393
commit
38b6748856
2 changed files with 5 additions and 8 deletions
|
@ -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}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue