# HG changeset patch # User Stefan Monnier # Date 1201492125 0 # Node ID 215c19bb60206035a77a26572974817aafffb343 # Parent e5e78e6819671e1baa7e1fe2c16b5a10443630e5 (read_char): Yet another int/Lisp_Object mixup (YAILOM). diff -r e5e78e681967 -r 215c19bb6020 src/ChangeLog --- a/src/ChangeLog Sun Jan 27 22:47:58 2008 +0000 +++ b/src/ChangeLog Mon Jan 28 03:48:45 2008 +0000 @@ -1,3 +1,7 @@ +2008-01-28 Stefan Monnier + + * keyboard.c (read_char): Yet another int/Lisp_Object mixup (YAILOM). + 2008-01-27 Dan Nicolaescu * Makefile.in: Remove references to unused macros. @@ -8,9 +12,8 @@ (g_b_init_get_sid_sub_authority_count): New static variables. (GetSidSubAuthority_Proc, GetSidSubAuthorityCount_Proc): New typedefs. (get_sid_sub_authority, get_sid_sub_authority_count): New functions. - (init_user_info): Use the above two new functions to retrieve uid - and gid. Use 500/513, the Windows defaults, as Administrator's - uid/gid. + (init_user_info): Use them to retrieve uid and gid. + Use 500/513, the Windows defaults, as Administrator's uid/gid. (fstat): Use pw_uid and pw_gid from the_passwd structure for st_uid and st_gid of the file. @@ -34,10 +37,10 @@ * keyboard.c (read_char): Restore echo_message_buffer after redisplay. - * buffer.c (reset_buffer_local_variables): Implement - `permanent-local-hook'. + * buffer.c (reset_buffer_local_variables): + Implement `permanent-local-hook'. (Qpermanent_local_hook): New variable. - (syms_of_buffer): init and staticpro it. + (syms_of_buffer): Init and staticpro it. 2008-01-25 Michael Albinus diff -r e5e78e681967 -r 215c19bb6020 src/keyboard.c --- a/src/keyboard.c Sun Jan 27 22:47:58 2008 +0000 +++ b/src/keyboard.c Mon Jan 28 03:48:45 2008 +0000 @@ -2704,7 +2704,7 @@ /* if redisplay was requested */ if (commandflag >= 0) { - int echo_current = echo_message_buffer == echo_area_buffer[0]; + int echo_current = EQ (echo_message_buffer, echo_area_buffer[0]); /* If there is pending input, process any events which are not user-visible, such as X selection_request events. */