* lisp.h (DEFVAR_BUFFER_DEFAULTS): Use BVAR.
authorTom Tromey <tromey@redhat.com>
Wed, 16 Feb 2011 15:20:08 +0000 (08:20 -0700)
committerTom Tromey <tromey@redhat.com>
Wed, 16 Feb 2011 15:20:08 +0000 (08:20 -0700)
src/ChangeLog
src/lisp.h

index 58f2d9b..1f4e23b 100644 (file)
@@ -1,3 +1,7 @@
+2011-02-16  Tom Tromey  <tromey@redhat.com>
+
+       * lisp.h (DEFVAR_BUFFER_DEFAULTS): Use BVAR.
+
 2011-02-16  Tom Tromey  <tromey@parfait>
 
        * xfns.c (x_create_tip_frame, Fx_show_tip): Replace B_ with BVAR.
index bd1595b..b82f1b2 100644 (file)
@@ -1882,7 +1882,7 @@ extern void defvar_kboard (struct Lisp_Kboard_Objfwd *, const char *, int);
 #define DEFVAR_BUFFER_DEFAULTS(lname, vname, doc)              \
   do {                                                         \
     static struct Lisp_Objfwd o_fwd;                           \
-    defvar_lisp_nopro (&o_fwd, lname, &buffer_defaults.vname ## _);    \
+    defvar_lisp_nopro (&o_fwd, lname, &BVAR (&buffer_defaults, vname));        \
   } while (0)
 
 #define DEFVAR_KBOARD(lname, vname, doc)                       \