From: Eli Zaretskii Date: Sat, 2 Sep 2023 07:38:16 +0000 (+0300) Subject: ; Remove incorrect example from ELisp Reference manual X-Git-Tag: emacs-29.1.90~154 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e660ee88e3d;p=emacs.git ; Remove incorrect example from ELisp Reference manual * doc/lispref/commands.texi (Event Examples): Remove incorrect example of using SIGUSR1 signal as an event. (Bug#65577) --- diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index 110b2479d11..d99b0e20211 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi @@ -2523,16 +2523,6 @@ the @code{track-mouse} macro, that produces an event like this: (mouse-movement (# nil (563 . 205) 532301936)) @end smallexample -To handle a SIGUSR1 signal, define an interactive function, and -bind it to the @code{signal usr1} event sequence: - -@smallexample -(defun usr1-handler () - (interactive) - (message "Got USR1 signal")) -(keymap-global-set " " 'usr1-handler) -@end smallexample - @node Classifying Events @subsection Classifying Events @cindex event type