X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fcmdloop.c;h=024ed8ab86d3231888919f4b0d4e898f9a1dc441;hb=aa982acf01b4e35675a624d78c9e5ee109c1203e;hp=eba7f4dd1cfcfeafd14a303b72ac2103fbb95ddc;hpb=46f51e794ddb493a8a76ec2f3be00b41e3b0be22;p=chise%2Fxemacs-chise.git diff --git a/src/cmdloop.c b/src/cmdloop.c index eba7f4d..024ed8a 100644 --- a/src/cmdloop.c +++ b/src/cmdloop.c @@ -38,7 +38,7 @@ Boston, MA 02111-1307, USA. */ #include "window.h" /* Current depth in recursive edits. */ -int command_loop_level; +Fixnum command_loop_level; #ifndef LISP_COMMAND_LOOP /* Form to evaluate (if non-nil) when Emacs is started. */ @@ -121,6 +121,10 @@ You should almost certainly not be using this. stderr_out ("*** Backtrace\n"); Fbacktrace (Qexternal_debugging_output, Qt); stderr_out ("*** Killing XEmacs\n"); +#ifdef HAVE_MS_WINDOWS + Fmswindows_message_box (build_string ("Initialization error"), + Qnil, Qnil); +#endif return Fkill_emacs (make_int (-1)); } @@ -545,9 +549,13 @@ Don't call this unless you know what you're doing. } } +#if 0 /* What's wrong with going through ordinary procedure of quit? + quitting here leaves overriding-terminal-local-map + when you type C-u C-u C-g. */ /* If ^G was typed before we got here (that is, before emacs was idle and waiting for input) then we treat that as an interrupt. */ QUIT; +#endif /* If minibuffer on and echo area in use, wait 2 sec and redraw minibuffer. Treat a ^G here as a command, not an interrupt.