Commit 4eb4f926 authored by Richard M. Stallman's avatar Richard M. Stallman

(read_char): Correct previous change.

parent 3402e1a4
...@@ -1485,7 +1485,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) ...@@ -1485,7 +1485,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
} }
/* Actually read a character, waiting if necessary. */ /* Actually read a character, waiting if necessary. */
while (1) while (NILP (c))
{ {
c = kbd_buffer_get_event (); c = kbd_buffer_get_event ();
if (!NILP (c)) if (!NILP (c))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment