summaryrefslogtreecommitdiff
path: root/src/lread.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-01-27 16:18:36 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2022-01-27 16:20:38 +0100
commitdecd6f830c9b65da654f93d9c99c6a5b99c05977 (patch)
tree5fc33e29dfcd86e31e4b63fdfd949de3e603c61f /src/lread.c
parent0991e8686cd90a7678346b7608c438fcb7e06bc6 (diff)
downloademacs-decd6f830c9b65da654f93d9c99c6a5b99c05977.tar.gz
Revert "Don't output spurious prefixes in read-char-exclusive"
This reverts commit 701ec0bda2b15fc97af6ca68fb842fb1ec9aac35. This change broke display of `C-q-' when doing the `C-q' command, so it has to be fixed a different way.
Diffstat (limited to 'src/lread.c')
-rw-r--r--src/lread.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lread.c b/src/lread.c
index ec54d2d81ad..9910db27de7 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -705,13 +705,8 @@ read_filtered_event (bool no_switch_frame, bool ascii_required,
/* Read until we get an acceptable event. */
retry:
do
- {
- ptrdiff_t count = SPECPDL_INDEX ();
- specbind (Qecho_keystrokes, Qnil);
- val = read_char (0, Qnil, (input_method ? Qnil : Qt), 0,
- NUMBERP (seconds) ? &end_time : NULL);
- unbind_to (count, Qnil);
- }
+ val = read_char (0, Qnil, (input_method ? Qnil : Qt), 0,
+ NUMBERP (seconds) ? &end_time : NULL);
while (FIXNUMP (val) && XFIXNUM (val) == -2); /* wrong_kboard_jmpbuf */
if (BUFFERP (val))