1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

; 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)
This commit is contained in:
Eli Zaretskii 2023-09-02 10:38:16 +03:00
parent c32fd92d67
commit e660ee88e3

View File

@ -2523,16 +2523,6 @@ the @code{track-mouse} macro, that produces an event like this:
(mouse-movement (#<frame *ielm* 0x102849a30> 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 "<signal> <usr1>" 'usr1-handler)
@end smallexample
@node Classifying Events
@subsection Classifying Events
@cindex event type