diff src/doc.c @ 485:8c615e453683

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Mon, 13 Jan 1992 21:48:08 +0000
parents ffdbf3445088
children c5bfe6e87d93
line wrap: on
line diff
--- a/src/doc.c	Mon Jan 13 21:48:03 1992 +0000
+++ b/src/doc.c	Mon Jan 13 21:48:08 1992 +0000
@@ -31,7 +31,6 @@
 #define O_RDONLY 0
 #endif
 
-#undef NULL
 #include "lisp.h"
 #include "buffer.h"
 
@@ -348,7 +347,7 @@
   int length;
   struct gcpro gcpro1;
 
-  if (NULL (str))
+  if (NILP (str))
     return Qnil;
 
   CHECK_STRING (str, 0);
@@ -388,7 +387,7 @@
 	  tem = Fintern (make_string (start, length), Qnil);
 	  tem = Fwhere_is_internal (tem, keymap, Qnil, Qt, Qnil);
 
-	  if (NULL (tem))	/* but not on any keys */
+	  if (NILP (tem))	/* but not on any keys */
 	    {
 	      new = (unsigned char *) xrealloc (buf, bsize += 4);
 	      bufp += new - buf;
@@ -429,10 +428,10 @@
 	     in case it is a local variable.  */
 	  name = Fintern (make_string (start, length), Qnil);
 	  tem = Fboundp (name);
-	  if (! NULL (tem))
+	  if (! NILP (tem))
 	    {
 	      tem = Fsymbol_value (name);
-	      if (! NULL (tem))
+	      if (! NILP (tem))
 		tem = get_keymap_1 (tem, 0);
 	    }
 
@@ -440,7 +439,7 @@
 	  oldbuf = current_buffer;
 	  set_buffer_internal (XBUFFER (Vprin1_to_string_buffer));
 
-	  if (NULL (tem))
+	  if (NILP (tem))
 	    {
 	      name = Fsymbol_name (name);
 	      insert_string ("\nUses keymap \"");