diff options
| author | Paul Eggert | 2019-03-15 18:24:20 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-03-15 18:25:24 -0700 |
| commit | 0eeb8c5920640be7309e00c9dcba6b7a07f741c1 (patch) | |
| tree | 90d8fb5fdb3624190e12216ad417ab29f1fc9cd6 /src/keyboard.h | |
| parent | 18fb250d6748bd31672a9d2bdd5dff99ac7f7743 (diff) | |
| download | emacs-0eeb8c5920640be7309e00c9dcba6b7a07f741c1.tar.gz emacs-0eeb8c5920640be7309e00c9dcba6b7a07f741c1.zip | |
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.h | 4 |
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; | |||
| 327 | takes care of protecting all the data from GC. */ | 327 | takes care of protecting all the data from GC. */ |
| 328 | extern Lisp_Object menu_items; | 328 | extern Lisp_Object menu_items; |
| 329 | 329 | ||
| 330 | /* If non-nil, means that the global vars defined here are already in use. | 330 | /* Whether the global vars defined here are already in use. |
| 331 | Used to detect cases where we try to re-enter this non-reentrant code. */ | 331 | Used to detect cases where we try to re-enter this non-reentrant code. */ |
| 332 | extern Lisp_Object menu_items_inuse; | 332 | extern bool menu_items_inuse; |
| 333 | 333 | ||
| 334 | /* Number of slots currently allocated in menu_items. */ | 334 | /* Number of slots currently allocated in menu_items. */ |
| 335 | extern int menu_items_allocated; | 335 | extern int menu_items_allocated; |