# HG changeset patch # User Richard M. Stallman # Date 797232110 0 # Node ID 36e8e27c8625d623746098bcef30e42ea591444b # Parent 5fed07fb66fb85f05843e1b3769ea68eea6420cd (defvar_int, defvar_bool, defvar_lisp_nopro, defvar_kboard) (defvar_per_buffer): Use XMISCTYPE. diff -r 5fed07fb66fb -r 36e8e27c8625 src/lread.c --- 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; }