/[emacs]/emacs/src/keyboard.c
ViewVC logotype

Diff of /emacs/src/keyboard.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.705 by kfstorm, Mon Aug 19 14:58:29 2002 UTC revision 1.706 by kfstorm, Mon Sep 9 22:33:36 2002 UTC
# Line 9786  If FILE is nil, close any open dribble f Line 9786  If FILE is nil, close any open dribble f
9786    
9787  DEFUN ("discard-input", Fdiscard_input, Sdiscard_input, 0, 0, 0,  DEFUN ("discard-input", Fdiscard_input, Sdiscard_input, 0, 0, 0,
9788         doc: /* Discard the contents of the terminal input buffer.         doc: /* Discard the contents of the terminal input buffer.
9789  Also cancel any kbd macro being defined.  */)  Also end any kbd macro being defined.  */)
9790       ()       ()
9791  {  {
9792    current_kboard->defining_kbd_macro = Qnil;    if (!NILP (current_kboard->defining_kbd_macro))
9793        {
9794          /* Discard the last command from the macro.  */
9795          Fcancel_kbd_macro_events ();
9796          end_kbd_macro ();
9797        }
9798    
9799    update_mode_lines++;    update_mode_lines++;
9800    
9801    Vunread_command_events = Qnil;    Vunread_command_events = Qnil;

Legend:
Removed from v.1.705  
changed lines
  Added in v.1.706

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26