summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-06-18 15:15:06 -0400
committerChong Yidong <cyd@stupidchicken.com>2011-06-18 15:15:06 -0400
commit7d7d00451f78eafdad6d9c06e51de544137e64fb (patch)
treef63a3d5b67b5e0e5ea0db3e57288c30f54009817 /src/dispnew.c
parent61dfb316ecfae23ea093a48ab67b9c66e9d1d7da (diff)
downloademacs-7d7d00451f78eafdad6d9c06e51de544137e64fb.tar.gz
Fixes for GLYPH_DEBUG.
* dispnew.c (add_window_display_history): Use BVAR. * xdisp.c (debug_method_add): Use BVAR. (check_window_end, dump_glyph_matrix, dump_glyph) (dump_glyph_row, dump_glyph_string): Convert arglist to ANSI C. * xfaces.c (check_lface_attrs, check_lface, dump_realized_face): Likewise. * xfns.c (Fx_create_frame, x_create_tip_frame): Delay image cache check till after the cache is created in init_frame_faces.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 2dffc0dce25..dbf052dd099 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -310,8 +310,8 @@ add_window_display_history (struct window *w, const char *msg, int paused_p)
history_tick++,
w,
((BUFFERP (w->buffer)
- && STRINGP (XBUFFER (w->buffer)->name))
- ? SSDATA (XBUFFER (w->buffer)->name)
+ && STRINGP (BVAR (XBUFFER (w->buffer), name)))
+ ? SSDATA (BVAR (XBUFFER (w->buffer), name))
: "???"),
paused_p ? " ***paused***" : "");
strcat (buf, msg);