[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/commands.texi,v
From: |
Karl Berry |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/commands.texi,v |
Date: |
Sun, 01 Apr 2007 18:11:16 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Karl Berry <karl> 07/04/01 18:11:15
Index: commands.texi
===================================================================
RCS file: /sources/emacs/emacs/lispref/commands.texi,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -b -r1.101 -r1.102
--- commands.texi 31 Mar 2007 17:27:34 -0000 1.101
+++ commands.texi 1 Apr 2007 18:11:15 -0000 1.102
@@ -1605,19 +1605,19 @@
The command is called with no arguments, and the specific signal event is
available in @code{last-input-event}. For example:
address@hidden
address@hidden
(defun sigusr-handler ()
(interactive)
(message "Caught signal %S" last-input-event))
(define-key special-event-map [sigusr1] 'sigusr-handler)
address@hidden example
address@hidden smallexample
To test the signal handler, you can make Emacs send a signal to itself:
address@hidden
address@hidden
(signal-process (emacs-pid) 'sigusr1)
address@hidden example
address@hidden smallexample
@end table
If one of these events arrives in the middle of a key sequence---that
- [Emacs-diffs] Changes to emacs/lispref/commands.texi,v,
Karl Berry <=