Commit | Line | Data |
---|---|---|
cd645247 | 1 | /* Definitions needed by most editing commands. |
429ab54e | 2 | Copyright (C) 1985, 1994, 2001, 2002, 2003, 2004, |
5df4f04c | 3 | 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. |
cd645247 JB |
4 | |
5 | This file is part of GNU Emacs. | |
6 | ||
b9b1cc14 | 7 | GNU Emacs is free software: you can redistribute it and/or modify |
cd645247 | 8 | it under the terms of the GNU General Public License as published by |
b9b1cc14 GM |
9 | the Free Software Foundation, either version 3 of the License, or |
10 | (at your option) any later version. | |
cd645247 JB |
11 | |
12 | GNU Emacs is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
b9b1cc14 | 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
cd645247 JB |
19 | |
20 | ||
21 | #define Ctl(c) ((c)&037) | |
22 | ||
6ce387e6 JB |
23 | /* Define the names of keymaps, just so people can refer to them in |
24 | calls to initial_define_key. These should *not* be used after | |
25 | initialization; use-global-map doesn't affect these; it sets | |
26 | current_global_map instead. */ | |
cd645247 | 27 | extern Lisp_Object global_map; |
cd645247 | 28 | extern Lisp_Object meta_map; |
cd645247 JB |
29 | extern Lisp_Object control_x_map; |
30 | ||
ef733244 JB |
31 | /* If not Qnil, this is a switch-frame event which we decided to put |
32 | off until the end of a key sequence. This should be read as the | |
1ad698af | 33 | next command input, after any Vunread_command_events. |
ef733244 JB |
34 | |
35 | read_key_sequence uses this to delay switch-frame events until the | |
36 | end of the key sequence; Fread_char uses it to put off switch-frame | |
37 | events until a non-ASCII event is acceptable as input. */ | |
38 | extern Lisp_Object unread_switch_frame; | |
cd645247 | 39 | |
74338b5e | 40 | /* The value of point when the last command was started. */ |
41118bd3 | 41 | extern EMACS_INT last_point_position; |
01314b95 | 42 | |
0f5f2096 RS |
43 | /* The buffer that was current when the last command was started. */ |
44 | extern Lisp_Object last_point_position_buffer; | |
45 | ||
74338b5e RS |
46 | /* The window that was selected when the last command was started. */ |
47 | extern Lisp_Object last_point_position_window; | |
48 | ||
cd645247 JB |
49 | /* Nonzero means ^G can quit instantly */ |
50 | extern int immediate_quit; | |
51 | ||
cd645247 JB |
52 | /* Nonzero if input is coming from the keyboard */ |
53 | ||
0aed526e | 54 | #define INTERACTIVE (NILP (Vexecuting_kbd_macro) && !noninteractive) |
cd645247 JB |
55 | |
56 | /* Set this nonzero to force reconsideration of mode line. */ | |
57 | ||
58 | extern int update_mode_lines; | |
59 |