aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorStefan Monnier2014-12-15 15:41:11 -0500
committerStefan Monnier2014-12-15 15:41:11 -0500
commit07e47aad41e6d350b13531bf8a5eebd042f34794 (patch)
treead3cebab2646abd67a7a4f5016263c20173a5eb8 /src/keyboard.c
parent816c1dfc5dfc6d490c653b393ef6876b3f04b7fe (diff)
downloademacs-07e47aad41e6d350b13531bf8a5eebd042f34794.tar.gz
emacs-07e47aad41e6d350b13531bf8a5eebd042f34794.zip
* src/: Various fixes to use bool type and constants.
* src/dispnew.c (update_single_window): Remove arg `force_p' since it's always true. * src/xfaces.c (clear_face_cache): Use bool for the argument type.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 6dc0b820eb9..beb34592d1c 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -270,7 +270,7 @@ static Lisp_Object Qhelp_form_show;
270/* File in which we write all commands we read. */ 270/* File in which we write all commands we read. */
271static FILE *dribble; 271static FILE *dribble;
272 272
273/* Nonzero if input is available. */ 273/* True if input is available. */
274bool input_pending; 274bool input_pending;
275 275
276/* Circular buffer for pre-read keyboard input. */ 276/* Circular buffer for pre-read keyboard input. */
@@ -2403,9 +2403,9 @@ echo_keystrokes_p (void)
2403/* commandflag 0 means do not autosave, but do redisplay. 2403/* commandflag 0 means do not autosave, but do redisplay.
2404 -1 means do not redisplay, but do autosave. 2404 -1 means do not redisplay, but do autosave.
2405 -2 means do neither. 2405 -2 means do neither.
2406 1 means do both. */ 2406 1 means do both.
2407 2407
2408/* The argument MAP is a keymap for menu prompting. 2408 The argument MAP is a keymap for menu prompting.
2409 2409
2410 PREV_EVENT is the previous input event, or nil if we are reading 2410 PREV_EVENT is the previous input event, or nil if we are reading
2411 the first event of a key sequence (or not reading a key sequence). 2411 the first event of a key sequence (or not reading a key sequence).
@@ -3878,7 +3878,7 @@ kbd_buffer_get_event (KBOARD **kbp,
3878 Lisp_Object obj; 3878 Lisp_Object obj;
3879 3879
3880#ifdef subprocesses 3880#ifdef subprocesses
3881 if (kbd_on_hold_p () && kbd_buffer_nr_stored () < KBD_BUFFER_SIZE/4) 3881 if (kbd_on_hold_p () && kbd_buffer_nr_stored () < KBD_BUFFER_SIZE / 4)
3882 { 3882 {
3883 /* Start reading input again because we have processed enough to 3883 /* Start reading input again because we have processed enough to
3884 be able to accept new events again. */ 3884 be able to accept new events again. */