]> code.delx.au - gnu-emacs/commitdiff
(face_at_buffer_position): Don't xassert that
authorGerd Moellmann <gerd@gnu.org>
Sat, 21 Aug 1999 19:31:04 +0000 (19:31 +0000)
committerGerd Moellmann <gerd@gnu.org>
Sat, 21 Aug 1999 19:31:04 +0000 (19:31 +0000)
window's buffers equals current_buffer; this is not the
case during echo area display.

src/xfaces.c

index c3610cc739f222abcdb21ccb5425b870551fd509..aa3f63a885c64d6b43df974c6032ea6e2f8aa4e2 100644 (file)
@@ -5848,7 +5848,7 @@ face_at_buffer_position (w, pos, region_beg, region_end,
 
   /* W must display the current buffer.  We could write this function
      to use the frame and buffer of W, but right now it doesn't.  */
-  xassert (XBUFFER (w->buffer) == current_buffer);
+  /* xassert (XBUFFER (w->buffer) == current_buffer); */
 
   XSETFRAME (frame, f);
   XSETFASTINT (position, pos);