From: Karl Heuer Date: Tue, 11 Oct 1994 01:47:06 +0000 (+0000) Subject: (sys_subshell): Use NILP macro directly, not its expansion. Previous code was X-Git-Tag: emacs-19.34~6428 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0e7e7a58b7ca6ac9481273d5e4325e1d7b699ef9;p=emacs.git (sys_subshell): Use NILP macro directly, not its expansion. Previous code was leftover from when NULL was a bad word. --- diff --git a/src/sysdep.c b/src/sysdep.c index 36527dd735b..e868bc9c499 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -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))