From 325b5dbd87ecfc4457ad0aecf1407be8c5cd167a Mon Sep 17 00:00:00 2001 From: Phillip Lord Date: Sat, 2 Mar 2019 16:48:50 +0000 Subject: [PATCH] Revert "; Document input-event-functions" This reverts commit 27fffb2701c38090916e077d28a4a6b9e2bc09d2. --- doc/lispref/commands.texi | 12 ------------ etc/NEWS | 1 - 2 files changed, 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}. @end example @end defvar -@defvar input-event-functions -This variable holds a list of functions to call after Emacs reads an -event, but before any commands are run. Each function receives a -single argument: the event that has been read. - -There are normally easier hooks to use than this; in particular -@var{pre-command-hook} is run immediately before any command resulting -from an event. However, not all events result in a command, including -many mouse events and some keyboard events when an input-method is -active (@pxref{Reading Input}). -@end defvar - @defmac while-no-input body@dots{} This construct runs the @var{body} forms and returns the value of the last 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. ** 'lookup-key' can take a list of keymaps as argument. -+++ ** New hook 'input-event-functions' run whenever a user-input is read. +++ -- 2.39.2