aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorGerd Möllmann2024-11-15 13:34:55 +0100
committerGerd Möllmann2024-12-19 11:04:04 +0100
commitf92520d009e1ab8024b03d9d71ecc9820573c040 (patch)
tree99df6ff9a70b4c06fd696ea16851e078a2dfcf44 /src/keyboard.c
parent8aef5d224a6fccb675729748836d5ebfdcfa1101 (diff)
downloademacs-f92520d009e1ab8024b03d9d71ecc9820573c040.tar.gz
emacs-f92520d009e1ab8024b03d9d71ecc9820573c040.zip
Don't pause display for pending input
* src/dispnew.c: Remove display_completed, redisplay_dont_pause, redisplay-dont-pause was declared obsolete in Emacs 24. Remove anything checking pending input, change function signatures accordingly, and so on. * src/keyboard.c (read_char): Don't use redisplay_dont_pause. * src/minibuf.c (read_minibuf): Use new function signatures. * src/xdisp.c: Don't check display_completed. Use new API. * lisp/subr.el (redisplay-dont-pause): Remove declaration.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index bfb5fd3592b..fe485a3efd6 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -2663,8 +2663,7 @@ read_char (int commandflag, Lisp_Object map,
2663 swallow_events (false); /* May clear input_pending. */ 2663 swallow_events (false); /* May clear input_pending. */
2664 2664
2665 /* Redisplay if no pending input. */ 2665 /* Redisplay if no pending input. */
2666 while (!(input_pending 2666 while (!(input_pending && input_was_pending))
2667 && (input_was_pending || !redisplay_dont_pause)))
2668 { 2667 {
2669 input_was_pending = input_pending; 2668 input_was_pending = input_pending;
2670 if (help_echo_showing_p && !BASE_EQ (selected_window, minibuf_window)) 2669 if (help_echo_showing_p && !BASE_EQ (selected_window, minibuf_window))