From: Gerd Moellmann Date: Sat, 21 Aug 1999 19:31:04 +0000 (+0000) Subject: (face_at_buffer_position): Don't xassert that X-Git-Tag: emacs-pretest-21.0.90~7082 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=060fb5c1df78b4f8c009c4dd48a8a86b733e6096;p=emacs.git (face_at_buffer_position): Don't xassert that window's buffers equals current_buffer; this is not the case during echo area display. --- diff --git a/src/xfaces.c b/src/xfaces.c index c3610cc739f..aa3f63a885c 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -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);