changeset 9266:811ad893828b

(Fdefault_file_modes, Finsert_file_contents, Fdo_auto_save): Use new accessor macros instead of calling XSET directly.
author Karl Heuer <kwzh@gnu.org>
date Tue, 04 Oct 1994 12:05:13 +0000
parents e44908d7323b
children 1b685d477c10
files src/fileio.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Tue Oct 04 12:04:15 1994 +0000
+++ b/src/fileio.c	Tue Oct 04 12:05:13 1994 +0000
@@ -2526,7 +2526,7 @@
   realmask = umask (0);
   umask (realmask);
 
-  XSET (value, Lisp_Int, (~ realmask) & 0777);
+  XSETINT (value, (~ realmask) & 0777);
   return value;
 }
 
@@ -2817,7 +2817,7 @@
     register Lisp_Object temp;
 
     /* Make sure point-max won't overflow after this insertion.  */
-    XSET (temp, Lisp_Int, total);
+    XSETINT (temp, total);
     if (total != XINT (temp))
       error ("maximum buffer size exceeded");
   }
@@ -3699,7 +3699,7 @@
 			 XSTRING (b->name)->data);
 		/* Turn off auto-saving until there's a real save,
 		   and prevent any more warnings.  */
-		XSET (b->save_length, Lisp_Int, -1);
+		XSETINT (b->save_length, -1);
 		Fsleep_for (make_number (1), Qnil);
 		continue;
 	      }