aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhillip Lord2019-03-02 16:48:50 +0000
committerPhillip Lord2019-03-02 16:48:50 +0000
commit325b5dbd87ecfc4457ad0aecf1407be8c5cd167a (patch)
tree3d3992a090d60aed3c8871eb9061d48d370fc17c
parent7bda34af52687440632127b4b79986e951b978b1 (diff)
downloademacs-325b5dbd87ecfc4457ad0aecf1407be8c5cd167a.tar.gz
emacs-325b5dbd87ecfc4457ad0aecf1407be8c5cd167a.zip
Revert "; Document input-event-functions"
This reverts commit 27fffb2701c38090916e077d28a4a6b9e2bc09d2.
-rw-r--r--doc/lispref/commands.texi12
-rw-r--r--etc/NEWS1
2 files changed, 0 insertions, 13 deletions
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi
index bf667341575..1eb580e1e0f 100644
--- a/doc/lispref/commands.texi
+++ b/doc/lispref/commands.texi
@@ -2920,18 +2920,6 @@ this expression) remains the value of @code{last-command-event}.
2920@end example 2920@end example
2921@end defvar 2921@end defvar
2922 2922
2923@defvar input-event-functions
2924This variable holds a list of functions to call after Emacs reads an
2925event, but before any commands are run. Each function receives a
2926single argument: the event that has been read.
2927
2928There are normally easier hooks to use than this; in particular
2929@var{pre-command-hook} is run immediately before any command resulting
2930from an event. However, not all events result in a command, including
2931many mouse events and some keyboard events when an input-method is
2932active (@pxref{Reading Input}).
2933@end defvar
2934
2935@defmac while-no-input body@dots{} 2923@defmac while-no-input body@dots{}
2936This construct runs the @var{body} forms and returns the value of the 2924This construct runs the @var{body} forms and returns the value of the
2937last one---but only if no input arrives. If any input arrives during 2925last one---but only if no input arrives. If any input arrives during
diff --git a/etc/NEWS b/etc/NEWS
index 65eb9ba1af2..0dba8fec0d3 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1298,7 +1298,6 @@ removed.
1298 1298
1299** 'lookup-key' can take a list of keymaps as argument. 1299** 'lookup-key' can take a list of keymaps as argument.
1300 1300
1301+++
1302** New hook 'input-event-functions' run whenever a user-input is read. 1301** New hook 'input-event-functions' run whenever a user-input is read.
1303 1302
1304+++ 1303+++