comparison src/cmdloop.c @ 444:576fb035e263 r21-2-37

Import from CVS: tag r21-2-37
author cvs
date Mon, 13 Aug 2007 11:36:19 +0200
parents abe6d1db359e
children c33ae14dd6d0
comparison
equal deleted inserted replaced
443:a8296e22da4e 444:576fb035e263
547 { 547 {
548 set_buffer_internal (XBUFFER (XWINDOW (selected_window)->buffer)); 548 set_buffer_internal (XBUFFER (XWINDOW (selected_window)->buffer));
549 } 549 }
550 } 550 }
551 551
552 #if 0 /* What's wrong with going through ordinary procedure of quit?
553 quitting here leaves overriding-terminal-local-map
554 when you type C-u C-u C-g. */
552 /* If ^G was typed before we got here (that is, before emacs was 555 /* If ^G was typed before we got here (that is, before emacs was
553 idle and waiting for input) then we treat that as an interrupt. */ 556 idle and waiting for input) then we treat that as an interrupt. */
554 QUIT; 557 QUIT;
558 #endif
555 559
556 /* If minibuffer on and echo area in use, wait 2 sec and redraw 560 /* If minibuffer on and echo area in use, wait 2 sec and redraw
557 minibuffer. Treat a ^G here as a command, not an interrupt. 561 minibuffer. Treat a ^G here as a command, not an interrupt.
558 */ 562 */
559 if (minibuf_level > 0 && echo_area_active (selected_frame ())) 563 if (minibuf_level > 0 && echo_area_active (selected_frame ()))