]> git.eshelyaron.com Git - emacs.git/commitdiff
(sys_subshell): Use NILP macro directly, not its expansion. Previous code was
authorKarl Heuer <kwzh@gnu.org>
Tue, 11 Oct 1994 01:47:06 +0000 (01:47 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 11 Oct 1994 01:47:06 +0000 (01:47 +0000)
leftover from when NULL was a bad word.

src/sysdep.c

index 36527dd735b050be95a97b1c7360b9de65c9e13a..e868bc9c499a8ac285f4857afc397dd2b976d13a 100644 (file)
@@ -677,8 +677,7 @@ sys_subshell ()
      which somehow wedges the hp compiler.  So instead...  */
 
   dir = intern ("default-directory");
-  /* Can't use NILP */
-  if (XFASTINT (Fboundp (dir)) == XFASTINT (Qnil))
+  if (NILP (Fboundp (dir)))
     goto xyzzy;
   dir = Fsymbol_value (dir);
   if (!STRINGP (dir))