aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/lispref/commands.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi
index 032f005e9c4..c5427b172e3 100644
--- a/doc/lispref/commands.texi
+++ b/doc/lispref/commands.texi
@@ -1788,9 +1788,10 @@ additional data because signals do not carry additional information.
1788They can be useful for debugging (@pxref{Error Debugging}). 1788They can be useful for debugging (@pxref{Error Debugging}).
1789 1789
1790To catch a user signal, bind the corresponding event to an interactive 1790To catch a user signal, bind the corresponding event to an interactive
1791command in the @code{special-event-map} (@pxref{Active Keymaps}). 1791command in the @code{special-event-map} (@pxref{Controlling Active Maps}).
1792The command is called with no arguments, and the specific signal event is 1792The command is called with no arguments, and the specific signal event is
1793available in @code{last-input-event}. For example: 1793available in @code{last-input-event} (@pxref{Event Input Misc}. For
1794example:
1794 1795
1795@smallexample 1796@smallexample
1796(defun sigusr-handler () 1797(defun sigusr-handler ()
@@ -3018,7 +3019,7 @@ definition to find the actual event.
3018user signals like @code{sigusr1} are normally handled in this way. 3019user signals like @code{sigusr1} are normally handled in this way.
3019The keymap which defines how to handle special events---and which 3020The keymap which defines how to handle special events---and which
3020events are special---is in the variable @code{special-event-map} 3021events are special---is in the variable @code{special-event-map}
3021(@pxref{Active Keymaps}). 3022(@pxref{Controlling Active Maps}).
3022 3023
3023@node Waiting 3024@node Waiting
3024@section Waiting for Elapsed Time or Input 3025@section Waiting for Elapsed Time or Input