From 0e7e7a58b7ca6ac9481273d5e4325e1d7b699ef9 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 11 Oct 1994 01:47:06 +0000 Subject: [PATCH] (sys_subshell): Use NILP macro directly, not its expansion. Previous code was leftover from when NULL was a bad word. --- src/sysdep.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)) -- 2.39.5