aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2023-09-02 10:38:16 +0300
committerEli Zaretskii2023-09-02 10:38:16 +0300
commite660ee88e3d3e8d1ec09eabc7c58f65f6a58fd69 (patch)
tree79001a03d9e8d3418b11dac0db1799ee0acd0439 /doc
parentc32fd92d67e7ec08caf748bfa01073e30d9ac806 (diff)
downloademacs-e660ee88e3d3e8d1ec09eabc7c58f65f6a58fd69.tar.gz
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')
-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:
2523(mouse-movement (#<frame *ielm* 0x102849a30> nil (563 . 205) 532301936)) 2523(mouse-movement (#<frame *ielm* 0x102849a30> nil (563 . 205) 532301936))
2524@end smallexample 2524@end smallexample
2525 2525
2526To handle a SIGUSR1 signal, define an interactive function, and
2527bind it to the @code{signal usr1} event sequence:
2528
2529@smallexample
2530(defun usr1-handler ()
2531 (interactive)
2532 (message "Got USR1 signal"))
2533(keymap-global-set "<signal> <usr1>" 'usr1-handler)
2534@end smallexample
2535
2536@node Classifying Events 2526@node Classifying Events
2537@subsection Classifying Events 2527@subsection Classifying Events
2538@cindex event type 2528@cindex event type