emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 e660ee88e3d: ; Remove incorrect example from ELisp Reference ma


From: Eli Zaretskii
Subject: emacs-29 e660ee88e3d: ; Remove incorrect example from ELisp Reference manual
Date: Sat, 2 Sep 2023 03:39:32 -0400 (EDT)

branch: emacs-29
commit e660ee88e3d3e8d1ec09eabc7c58f65f6a58fd69
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; 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 (#<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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]