]> code.delx.au - gnu-emacs/blobdiff - src/keyboard.h
(fast_looking_at): New function.
[gnu-emacs] / src / keyboard.h
index afdcd9d13de62ffcc909809738f106d2b4e3c71f..b54f204e1df660376844e369281d0c8440a088de 100644 (file)
@@ -1,6 +1,6 @@
 /* Declarations useful when processing input.
    Copyright (C) 1985, 1986, 1987, 1993, 2001, 2002, 2003, 2004,
-                 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
+                 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -171,7 +171,6 @@ struct kboard
     char echo_after_prompt;
   };
 
-#ifdef MULTI_KBOARD
 /* Temporarily used before a frame has been opened. */
 extern KBOARD *initial_kboard;
 
@@ -188,12 +187,6 @@ extern KBOARD *all_kboards;
 
 /* Nonzero in the single-kboard state, 0 in the any-kboard state.  */
 extern int single_kboard;
-#else
-extern KBOARD the_only_kboard;
-#define current_kboard (&the_only_kboard)
-#define all_kboards (&the_only_kboard)
-#define single_kboard 1
-#endif
 \f
 /* Total number of times read_char has returned.  */
 extern int num_input_events;
@@ -372,7 +365,10 @@ typedef struct _widget_value
   /* next one in the list */
   struct _widget_value*        next;
 } widget_value;
-#endif
+
+extern widget_value *xmalloc_widget_value P_ ((void));
+extern widget_value *digest_single_submenu P_ ((int, int, int));
+#endif /* HAVE_NS || HAVE_NTGUI */
 
 \f
 /* Macros for dealing with lispy events.  */