From: Joakim Verona Date: Wed, 1 Aug 2012 11:23:31 +0000 (+0200) Subject: WVAR (it->w, buffer) X-Git-Tag: emacs-25.0.90~3287 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/c8b0fc1999006af5a4317b44068fac13d9592143 WVAR (it->w, buffer) --- diff --git a/src/xdisp.c b/src/xdisp.c index 4d66546112..11a9eb5df9 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -4975,7 +4975,7 @@ handle_single_display_spec (struct it *it, Lisp_Object spec, Lisp_Object object, it->what = IT_XWIDGET; it->method = GET_FROM_XWIDGET; it->position = start_pos; - it->object = NILP (object) ? it->w->buffer : object; + it->object = NILP (object) ? WVAR (it->w, buffer) : object; *position = start_pos; it->xwidget = lookup_xwidget(value);