]> git.eshelyaron.com Git - emacs.git/commitdiff
src/keyboard.c (read_decoded_event_from_main_queue): Improve commentary
authorEli Zaretskii <eliz@gnu.org>
Thu, 23 May 2013 18:49:57 +0000 (21:49 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 23 May 2013 18:49:57 +0000 (21:49 +0300)
 about the w32 console reading non-ASCII characters.

src/keyboard.c

index c9ba39769cd8753d22dfc2708c18bf68d0aae43f..0a7577b859ed1181ad83d2720a123d7640950e5f 100644 (file)
@@ -2312,7 +2312,10 @@ read_decoded_event_from_main_queue (EMACS_TIME *end_time,
         = read_event_from_main_queue (end_time, local_getcjmp,
                                       used_mouse_menu);
 #ifdef WINDOWSNT
-      /* w32_console already returns decoded events.  */
+      /* w32_console already returns decoded events.  It either reads
+        Unicode characters from the Windows keyboard input, or
+        converts characters encoded in the current codepage into
+        Unicode.  See w32inevt.c:key_event, near its end.  */
       return nextevt;
 #else
       struct frame *frame = XFRAME (selected_frame);