X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/2db45b7b38e4e918a643bcd883b1f9089c8a1e24..9cf30a30a8315fd59898e78fa8cdd1bf2fa93a78:/src/keyboard.h diff --git a/src/keyboard.h b/src/keyboard.h index 88ae1be578..66ff8ca36b 100644 --- a/src/keyboard.h +++ b/src/keyboard.h @@ -15,7 +15,8 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ /* Length of echobuf field in each KBOARD. */ @@ -66,19 +67,19 @@ struct kboard { KBOARD *next_kboard; - /* The state of a prefix arg. - After pressing C-u COUNT times, prefix_factor is 4^COUNT - and prefix_value is nil. - After C-u NUM, prefix_factor is nil and prefix_value is abs(NUM). - (prefix_factor and prefix_value are never both non-nil.) - prefix_sign is always either +1 or -1; a value of -1 means that - the actual numeric argument is the negative of what's in prefix_value, - or just `-' if prefix_value is nil. - The boolean prefix_partial means that the user is in the process - of building a prefix argument, so that a minus or digit key at - this point is handled specially. */ - Lisp_Object prefix_factor, prefix_value; - int prefix_sign, prefix_partial; + /* If non-nil, a keymap that overrides all others but applies only to + this KBOARD. Lisp code that uses this instead of calling read-char + can effectively wait for input in the any-kboard state, and hence + avoid blocking out the other KBOARDs. See universal-argument in + lisp/simple.el for an example. */ + Lisp_Object Voverriding_terminal_local_map; + + /* Last command executed by the editor command loop, not counting + commands that set the prefix argument. */ + Lisp_Object Vlast_command; + + /* The prefix argument for the next command, in raw form. */ + Lisp_Object Vprefix_arg; /* Unread events specific to this kboard. */ Lisp_Object kbd_queue; @@ -108,6 +109,9 @@ struct kboard /* Alist of system-specific X windows key symbols. */ Lisp_Object Vsystem_key_alist; + /* Cache for modify_event_symbol. */ + Lisp_Object system_key_syms; + /* Minibufferless frames on this display use this frame's minibuffer. */ Lisp_Object Vdefault_minibuffer_frame; @@ -166,6 +170,9 @@ extern KBOARD the_only_kboard; #define single_kboard 1 #endif +extern Lisp_Object Vlucid_menu_bar_dirty_flag; +extern Lisp_Object Qrecompute_lucid_menubar, Qactivate_menubar_hook; + /* Total number of times read_char has returned. */ extern int num_input_chars;