From e660ee88e3d3e8d1ec09eabc7c58f65f6a58fd69 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 2 Sep 2023 10:38:16 +0300 Subject: [PATCH] ; 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) --- doc/lispref/commands.texi | 10 ---------- 1 file changed, 10 deletions(-) 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 -- 2.39.2