changeset 11242:36e8e27c8625

(defvar_int, defvar_bool, defvar_lisp_nopro, defvar_kboard) (defvar_per_buffer): Use XMISCTYPE.
author Richard M. Stallman <rms@gnu.org>
date Fri, 07 Apr 1995 05:21:50 +0000
parents 5fed07fb66fb
children 054ecfce1820
files src/lread.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/lread.c	Fri Apr 07 05:20:19 1995 +0000
+++ b/src/lread.c	Fri Apr 07 05:21:50 1995 +0000
@@ -1905,7 +1905,7 @@
   Lisp_Object sym, val;
   sym = intern (namestring);
   val = allocate_misc ();
-  XMISC (val)->type = Lisp_Misc_Intfwd;
+  XMISCTYPE (val) = Lisp_Misc_Intfwd;
   XINTFWD (val)->intvar = address;
   XSYMBOL (sym)->value = val;
 }
@@ -1920,7 +1920,7 @@
   Lisp_Object sym, val;
   sym = intern (namestring);
   val = allocate_misc ();
-  XMISC (val)->type = Lisp_Misc_Boolfwd;
+  XMISCTYPE (val) = Lisp_Misc_Boolfwd;
   XBOOLFWD (val)->boolvar = address;
   XSYMBOL (sym)->value = val;
 }
@@ -1938,7 +1938,7 @@
   Lisp_Object sym, val;
   sym = intern (namestring);
   val = allocate_misc ();
-  XMISC (val)->type = Lisp_Misc_Objfwd;
+  XMISCTYPE (val) = Lisp_Misc_Objfwd;
   XOBJFWD (val)->objvar = address;
   XSYMBOL (sym)->value = val;
 }
@@ -1973,7 +1973,7 @@
   val = allocate_misc ();
   offset = (char *)address - (char *)current_buffer;
 
-  XMISC (val)->type = Lisp_Misc_Buffer_Objfwd;
+  XMISCTYPE (val) = Lisp_Misc_Buffer_Objfwd;
   XBUFFER_OBJFWD (val)->offset = offset;
   XSYMBOL (sym)->value = val;
   *(Lisp_Object *)(offset + (char *)&buffer_local_symbols) = sym;
@@ -1997,7 +1997,7 @@
   Lisp_Object sym, val;
   sym = intern (namestring);
   val = allocate_misc ();
-  XMISC (val)->type = Lisp_Misc_Kboard_Objfwd;
+  XMISCTYPE (val) = Lisp_Misc_Kboard_Objfwd;
   XKBOARD_OBJFWD (val)->offset = offset;
   XSYMBOL (sym)->value = val;
 }