summaryrefslogtreecommitdiff
path: root/doc/lispref
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-09-02 10:38:16 +0300
committerEli Zaretskii <eliz@gnu.org>2023-09-02 10:38:16 +0300
commite660ee88e3d3e8d1ec09eabc7c58f65f6a58fd69 (patch)
tree79001a03d9e8d3418b11dac0db1799ee0acd0439 /doc/lispref
parentc32fd92d67e7ec08caf748bfa01073e30d9ac806 (diff)
downloademacs-e660ee88e3d3e8d1ec09eabc7c58f65f6a58fd69.tar.gz
emacs-e660ee88e3d3e8d1ec09eabc7c58f65f6a58fd69.tar.bz2
emacs-e660ee88e3d3e8d1ec09eabc7c58f65f6a58fd69.zip
; 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)
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/commands.texi10
1 files changed, 0 insertions, 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 (#<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