aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorThierry Volpiatto2016-11-27 09:31:58 +0100
committerThierry Volpiatto2016-11-27 21:48:07 +0100
commitd9dd884c7c1940cacfcc2d86d47220b40c520bb5 (patch)
tree6102f376c3567de21c173709185c90e6d41028af /doc
parent416adda38521c6246f77877c57843264fa4ae711 (diff)
downloademacs-d9dd884c7c1940cacfcc2d86d47220b40c520bb5.tar.gz
emacs-d9dd884c7c1940cacfcc2d86d47220b40c520bb5.zip
Allow configuring which event throw-on-input should ignore (bug#19547).
* src/keyboard.c (kbd_buffer_store_buffered_event): Translate event to corresponding symbol from `while-no-input-ignore-events` and check them with Fmemq. (syms_of_keyboard): Declare new lisp variable `while-no-input-ignore-events` and its symbols. * lisp/subr.el (while-no-input-ignore-events): Add default values. * doc/lispref/commands.texi (Event Input Misc): Document while-no-input-ignore-events. * etc/NEWS: Same.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/commands.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi
index 46756d0ddd6..c4de5299ce9 100644
--- a/doc/lispref/commands.texi
+++ b/doc/lispref/commands.texi
@@ -2917,6 +2917,12 @@ like this:
2917@end example 2917@end example
2918@end defmac 2918@end defmac
2919 2919
2920@defvar while-no-input-ignore-events
2921This variable allow setting which special events @code{while-no-input}
2922should ignore. It is a list of symbols.
2923
2924@end defvar
2925
2920@defun discard-input 2926@defun discard-input
2921@cindex flushing input 2927@cindex flushing input
2922@cindex discarding input 2928@cindex discarding input