summaryrefslogtreecommitdiff
path: root/src/keyboard.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@Penguin.CS.UCLA.EDU>2019-03-15 18:24:20 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-03-15 18:25:24 -0700
commit0eeb8c5920640be7309e00c9dcba6b7a07f741c1 (patch)
tree90d8fb5fdb3624190e12216ad417ab29f1fc9cd6 /src/keyboard.h
parent18fb250d6748bd31672a9d2bdd5dff99ac7f7743 (diff)
downloademacs-0eeb8c5920640be7309e00c9dcba6b7a07f741c1.tar.gz
Use bool for menu_items_inuse
* src/menu.c (menu_items_inuse): Now bool, instead of a Lisp_Object that is always Qt or Qnil. All uses changed.
Diffstat (limited to 'src/keyboard.h')
-rw-r--r--src/keyboard.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.h b/src/keyboard.h
index 0898c752ea4..65c7402ddb5 100644
--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -327,9 +327,9 @@ extern Lisp_Object item_properties;
takes care of protecting all the data from GC. */
extern Lisp_Object menu_items;
-/* If non-nil, means that the global vars defined here are already in use.
+/* Whether the global vars defined here are already in use.
Used to detect cases where we try to re-enter this non-reentrant code. */
-extern Lisp_Object menu_items_inuse;
+extern bool menu_items_inuse;
/* Number of slots currently allocated in menu_items. */
extern int menu_items_allocated;