(font-lock-mode): Don't add to after-change-functions
[bpt/emacs.git] / src / keyboard.h
index eb4f373..66ff8ca 100644 (file)
@@ -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,12 @@ 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;
+
     /* Number of displays using this KBOARD.  Normally 1, but can be
        larger when you have multiple screens on a single X display.  */
     int reference_count;
@@ -163,6 +170,9 @@ extern KBOARD the_only_kboard;
 #define single_kboard 1
 #endif
 \f
+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;