]> code.delx.au - gnu-emacs/commitdiff
WVAR (it->w, buffer)
authorJoakim Verona <joakim@verona.se>
Wed, 1 Aug 2012 11:23:31 +0000 (13:23 +0200)
committerJoakim Verona <joakim@verona.se>
Wed, 1 Aug 2012 11:23:31 +0000 (13:23 +0200)
src/xdisp.c

index 4d665461125f64a5d4a8d1257dab961d53770051..11a9eb5df938de5472fcef741ca978a2b426e77d 100644 (file)
@@ -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);