changeset 54181:6c578d781772

Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-119 src/keyboard.c (adjust_point_for_property): #ifdef-out dodgy xassert
author Miles Bader <miles@gnu.org>
date Sat, 28 Feb 2004 01:53:35 +0000
parents 31f59adf16ea
children 39ae79d0177a b44978264e1d
files src/ChangeLog src/keyboard.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Feb 28 01:32:35 2004 +0000
+++ b/src/ChangeLog	Sat Feb 28 01:53:35 2004 +0000
@@ -1,3 +1,7 @@
+2004-02-28  Miles Bader  <miles@gnu.org>
+
+	* keyboard.c (adjust_point_for_property): #ifdef-out dodgy xassert.
+
 2004-02-28  Kim F. Storm  <storm@cua.dk>
 
 	* keyboard.c (kbd_buffer_store_event_hold): New function to store
--- a/src/keyboard.c	Sat Feb 28 01:32:35 2004 +0000
+++ b/src/keyboard.c	Sat Feb 28 01:53:35 2004 +0000
@@ -1928,7 +1928,12 @@
 		      : (PT < last_pt ? beg : end));
 	      check_composition = check_display = 1;
 	    }
+#if 0 /* This assertion isn't correct, because SET_PT may end up setting
+	 the point to something other than its argument, due to
+	 point-motion hooks, intangibility, etc.  */
 	  xassert (PT == beg || PT == end);
+#endif
+
 	  /* Pretend the area doesn't exist if the buffer is not
 	     modified.  */
 	  if (!modified && !ellipsis && beg < end)