; 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:
parent
c32fd92d67
commit
e660ee88e3
1 changed files with 0 additions and 10 deletions
|
@ -2523,16 +2523,6 @@ the @code{track-mouse} macro, that produces an event like this:
|
||||||
(mouse-movement (#<frame *ielm* 0x102849a30> nil (563 . 205) 532301936))
|
(mouse-movement (#<frame *ielm* 0x102849a30> nil (563 . 205) 532301936))
|
||||||
@end smallexample
|
@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
|
@node Classifying Events
|
||||||
@subsection Classifying Events
|
@subsection Classifying Events
|
||||||
@cindex event type
|
@cindex event type
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue