comparison src/keyboard.c @ 10701:358030fd130c

(command_loop_1): Put back cancel_echoing call, if there's a perdisplay for it to apply to. (init_perdisplay): Initialize echo vars.
author Karl Heuer <kwzh@gnu.org>
date Wed, 08 Feb 1995 06:37:26 +0000
parents f614ba745b6a
children ea87e4d9c8ea
comparison
equal deleted inserted replaced
10700:f6f235bc26ba 10701:358030fd130c
900 struct buffer *prev_buffer; 900 struct buffer *prev_buffer;
901 PERDISPLAY *global_perdisplay = current_perdisplay; 901 PERDISPLAY *global_perdisplay = current_perdisplay;
902 902
903 Vdeactivate_mark = Qnil; 903 Vdeactivate_mark = Qnil;
904 waiting_for_input = 0; 904 waiting_for_input = 0;
905 if (current_perdisplay)
906 cancel_echoing ();
905 907
906 nonundocount = 0; 908 nonundocount = 0;
907 no_redisplay = 0; 909 no_redisplay = 0;
908 this_command_key_count = 0; 910 this_command_key_count = 0;
909 911
6049 /* This means that command_loop_1 won't try to select anything the first 6051 /* This means that command_loop_1 won't try to select anything the first
6050 time through. */ 6052 time through. */
6051 perd->internal_last_event_frame = Qnil; 6053 perd->internal_last_event_frame = Qnil;
6052 #endif 6054 #endif
6053 perd->Vlast_event_frame = Qnil; 6055 perd->Vlast_event_frame = Qnil;
6056 perd->immediate_echo = 0;
6057 perd->echoptr = perd->echobuf;
6058 perd->echo_after_prompt = -1;
6054 } 6059 }
6055 6060
6056 /* 6061 /*
6057 * Destroy the contents of a perdisplay object, but not the object itself. 6062 * Destroy the contents of a perdisplay object, but not the object itself.
6058 * We use this just before deleteing it, or if we're going to initialize 6063 * We use this just before deleteing it, or if we're going to initialize