[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/keyboard.c,v [EMACS_22_BASE]
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] Changes to emacs/src/keyboard.c,v [EMACS_22_BASE] |
Date: |
Wed, 08 Aug 2007 07:49:26 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Glenn Morris <gm> 07/08/08 07:49:21
Index: keyboard.c
===================================================================
RCS file: /sources/emacs/emacs/src/keyboard.c,v
retrieving revision 1.899.2.2
retrieving revision 1.899.2.3
diff -u -b -r1.899.2.2 -r1.899.2.3
--- keyboard.c 25 Jul 2007 05:15:48 -0000 1.899.2.2
+++ keyboard.c 8 Aug 2007 07:49:17 -0000 1.899.2.3
@@ -500,7 +500,7 @@
/* The above pair of variables forms a "queue empty" flag. When we
enqueue a non-hook event, we increment kbd_store_ptr. When we
dequeue a non-hook event, we increment kbd_fetch_ptr. We say that
- there is input available iff the two pointers are not equal.
+ there is input available if the two pointers are not equal.
Why not just have a flag set and cleared by the enqueuing and
dequeuing functions? Such a flag could be screwed up by interrupts
@@ -3590,7 +3590,7 @@
kbd_buffer_store_event places events in kbd_buffer, and
kbd_buffer_get_event retrieves them. */
-/* Return true iff there are any events in the queue that read-char
+/* Return true if there are any events in the queue that read-char
would return. If this returns false, a read-char would block. */
static int
readable_events (flags)
- [Emacs-diffs] Changes to emacs/src/keyboard.c,v [EMACS_22_BASE],
Glenn Morris <=