home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / lemacs-19.6 / src / commands.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-26  |  2.0 KB  |  61 lines

  1. /* Definitions needed by most editing commands.
  2.    Copyright (C) 1985-1993 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU Emacs.
  5.  
  6. GNU Emacs is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU Emacs is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU Emacs; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. #ifndef _EMACS_COMMANDS_H_
  21. #define _EMACS_COMMANDS_H_
  22.  
  23. /* Previous command symbol found here for comparison */
  24. extern Lisp_Object last_command;
  25.  
  26. extern int immediate_quit;        /* Nonzero means ^G can quit instantly */
  27.  
  28. extern Lisp_Object Vexecuting_macro;
  29.  
  30. /* Nonzero if input is coming from the keyboard */
  31.  
  32. #define INTERACTIVE (NILP (Vexecuting_macro) && !noninteractive)
  33.  
  34. /* Set this nonzero to force reconsideration of mode line. */
  35. extern int redraw_mode_line;
  36.  
  37. /* Nonzero means reading single-character input with prompt
  38.    so put cursor on minibuffer after the prompt.  */
  39. extern int cursor_in_echo_area;
  40.  
  41. extern Lisp_Object call_command_loop (Lisp_Object dummy);
  42.  
  43. extern Lisp_Object Vkeyboard_translate_table;
  44. extern Lisp_Object Vthis_command;
  45. extern Lisp_Object Vlast_command;
  46. extern Lisp_Object Vunread_command_event;
  47. extern Lisp_Object Vlast_command_event;
  48. extern Lisp_Object Vlast_input_event;
  49. /* These two for compatibility; they are V... because they can be nil. */
  50. extern Lisp_Object Vlast_command_char;
  51. extern Lisp_Object Vlast_input_char;
  52. extern Lisp_Object Vlast_input_time;
  53. extern Lisp_Object Vcurrent_mouse_event;
  54.  
  55. extern int zmacs_regions;
  56. extern int zmacs_region_active_p;
  57. extern int zmacs_region_stays;
  58. extern void zmacs_update_region (void);
  59.  
  60. #endif /* _EMACS_COMMANDS_H_ */
  61.