aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index cec7e206195..82747af86bb 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -29,6 +29,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
29 29
30#define min(a, b) ((a) < (b) ? (a) : (b)) 30#define min(a, b) ((a) < (b) ? (a) : (b))
31 31
32extern int quit_char;
33
32/* List of buffers for use as minibuffers. 34/* List of buffers for use as minibuffers.
33 The first element of the list is used for the outermost minibuffer invocation, 35 The first element of the list is used for the outermost minibuffer invocation,
34 the next element is used for a recursive minibuffer invocation, etc. 36 the next element is used for a recursive minibuffer invocation, etc.
@@ -969,7 +971,7 @@ temp_echo_area_glyphs (m)
969 if (!NILP (Vquit_flag)) 971 if (!NILP (Vquit_flag))
970 { 972 {
971 Vquit_flag = Qnil; 973 Vquit_flag = Qnil;
972 unread_command_events = Fcons (make_number (Ctl ('g')), Qnil); 974 unread_command_events = Fcons (make_number (quit_char), Qnil);
973 } 975 }
974 Vinhibit_quit = oinhibit; 976 Vinhibit_quit = oinhibit;
975} 977}