diff src/syntax.c @ 485:8c615e453683

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Mon, 13 Jan 1992 21:48:08 +0000
parents 0f3996cb4ae5
children 2bb7f23b7ea5
line wrap: on
line diff
--- a/src/syntax.c	Mon Jan 13 21:48:03 1992 +0000
+++ b/src/syntax.c	Mon Jan 13 21:48:08 1992 +0000
@@ -46,7 +46,7 @@
 {
   register Lisp_Object tem;
   while (tem = Fsyntax_table_p (obj),
-	 NULL (tem))
+	 NILP (tem))
     obj = wrong_type_argument (Qsyntax_table_p, obj, 0);
   return obj;
 }   
@@ -79,9 +79,9 @@
   XFASTINT (size) = 0400;
   XFASTINT (val) = 0;
   val = Fmake_vector (size, val);
-  if (!NULL (table))
+  if (!NILP (table))
     table = check_syntax_table (table);
-  else if (NULL (Vstandard_syntax_table))
+  else if (NILP (Vstandard_syntax_table))
     /* Can only be null during initialization */
     return val;
   else table = Vstandard_syntax_table;
@@ -195,7 +195,7 @@
 
   CHECK_NUMBER (c, 0);
   CHECK_STRING (newentry, 1);
-  if (NULL (syntax_table))
+  if (NILP (syntax_table))
     syntax_table = current_buffer->syntax_table;
   else
     syntax_table = check_syntax_table (syntax_table);
@@ -899,7 +899,7 @@
   immediate_quit = 1;
   QUIT;
 
-  if (NULL (oldstate))
+  if (NILP (oldstate))
     {
       depth = 0;
       state.instring = -1;
@@ -908,7 +908,7 @@
   else
     {
       tem = Fcar (oldstate);
-      if (!NULL (tem))
+      if (!NILP (tem))
 	depth = XINT (tem);
       else
 	depth = 0;
@@ -917,15 +917,15 @@
       oldstate = Fcdr (oldstate);
       oldstate = Fcdr (oldstate);
       tem = Fcar (oldstate);
-      state.instring = !NULL (tem) ? XINT (tem) : -1;
+      state.instring = !NILP (tem) ? XINT (tem) : -1;
 
       oldstate = Fcdr (oldstate);
       tem = Fcar (oldstate);
-      state.incomment = !NULL (tem);
+      state.incomment = !NILP (tem);
 
       oldstate = Fcdr (oldstate);
       tem = Fcar (oldstate);
-      start_quoted = !NULL (tem);
+      start_quoted = !NILP (tem);
     }
   state.quoted = 0;
   mindepth = depth;
@@ -1125,7 +1125,7 @@
   struct lisp_parse_state state;
   int target;
 
-  if (!NULL (targetdepth))
+  if (!NILP (targetdepth))
     {
       CHECK_NUMBER (targetdepth, 3);
       target = XINT (targetdepth);
@@ -1135,7 +1135,7 @@
 
   validate_region (&from, &to);
   state = *scan_sexps_forward (XINT (from), XINT (to),
-			       target, !NULL (stopbefore), oldstate);
+			       target, !NILP (stopbefore), oldstate);
 
   SET_PT (state.location);