changeset 88044:215c19bb6020

(read_char): Yet another int/Lisp_Object mixup (YAILOM).
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 28 Jan 2008 03:48:45 +0000
parents e5e78e681967
children 949936fe51a9
files src/ChangeLog src/keyboard.c
diffstat 2 files changed, 10 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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  <monnier@iro.umontreal.ca>
+
+	* keyboard.c (read_char): Yet another int/Lisp_Object mixup (YAILOM).
+
 2008-01-27  Dan Nicolaescu  <dann@ics.uci.edu>
 
 	* 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  <michael.albinus@gmx.de>
 
--- 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.  */