aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-01-28 03:48:45 +0000
committerStefan Monnier2008-01-28 03:48:45 +0000
commit0975aa2475b2691bcb646d56cb3be39f01843ef2 (patch)
tree0e002dc7f904406e456ac97194d3bd26b7012f56
parentf03ea9d918bf696a78ce34b69914f4457a002816 (diff)
downloademacs-0975aa2475b2691bcb646d56cb3be39f01843ef2.tar.gz
emacs-0975aa2475b2691bcb646d56cb3be39f01843ef2.zip
(read_char): Yet another int/Lisp_Object mixup (YAILOM).
-rw-r--r--src/ChangeLog15
-rw-r--r--src/keyboard.c2
2 files changed, 10 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 114bbc5b0e7..3986b4f9284 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12008-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * keyboard.c (read_char): Yet another int/Lisp_Object mixup (YAILOM).
4
12008-01-27 Dan Nicolaescu <dann@ics.uci.edu> 52008-01-27 Dan Nicolaescu <dann@ics.uci.edu>
2 6
3 * Makefile.in: Remove references to unused macros. 7 * Makefile.in: Remove references to unused macros.
@@ -8,9 +12,8 @@
8 (g_b_init_get_sid_sub_authority_count): New static variables. 12 (g_b_init_get_sid_sub_authority_count): New static variables.
9 (GetSidSubAuthority_Proc, GetSidSubAuthorityCount_Proc): New typedefs. 13 (GetSidSubAuthority_Proc, GetSidSubAuthorityCount_Proc): New typedefs.
10 (get_sid_sub_authority, get_sid_sub_authority_count): New functions. 14 (get_sid_sub_authority, get_sid_sub_authority_count): New functions.
11 (init_user_info): Use the above two new functions to retrieve uid 15 (init_user_info): Use them to retrieve uid and gid.
12 and gid. Use 500/513, the Windows defaults, as Administrator's 16 Use 500/513, the Windows defaults, as Administrator's uid/gid.
13 uid/gid.
14 (fstat): Use pw_uid and pw_gid from the_passwd structure for 17 (fstat): Use pw_uid and pw_gid from the_passwd structure for
15 st_uid and st_gid of the file. 18 st_uid and st_gid of the file.
16 19
@@ -34,10 +37,10 @@
34 37
35 * keyboard.c (read_char): Restore echo_message_buffer after redisplay. 38 * keyboard.c (read_char): Restore echo_message_buffer after redisplay.
36 39
37 * buffer.c (reset_buffer_local_variables): Implement 40 * buffer.c (reset_buffer_local_variables):
38 `permanent-local-hook'. 41 Implement `permanent-local-hook'.
39 (Qpermanent_local_hook): New variable. 42 (Qpermanent_local_hook): New variable.
40 (syms_of_buffer): init and staticpro it. 43 (syms_of_buffer): Init and staticpro it.
41 44
422008-01-25 Michael Albinus <michael.albinus@gmx.de> 452008-01-25 Michael Albinus <michael.albinus@gmx.de>
43 46
diff --git a/src/keyboard.c b/src/keyboard.c
index 2187c22bdb7..fb6bec2cad8 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -2704,7 +2704,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu, end_time)
2704 /* if redisplay was requested */ 2704 /* if redisplay was requested */
2705 if (commandflag >= 0) 2705 if (commandflag >= 0)
2706 { 2706 {
2707 int echo_current = echo_message_buffer == echo_area_buffer[0]; 2707 int echo_current = EQ (echo_message_buffer, echo_area_buffer[0]);
2708 2708
2709 /* If there is pending input, process any events which are not 2709 /* If there is pending input, process any events which are not
2710 user-visible, such as X selection_request events. */ 2710 user-visible, such as X selection_request events. */