summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-09-27 01:18:46 +0000
committerKarl Heuer <kwzh@gnu.org>1994-09-27 01:18:46 +0000
commiteb095e41f90eb9acb2479cd6d09b2f173f5fc128 (patch)
tree22e301274cfecf2331ba9294b612ea6bef127190 /src/sysdep.c
parent9211473ed169d1fd6fd64ccee9685b2dd5fe3e08 (diff)
downloademacs-eb095e41f90eb9acb2479cd6d09b2f173f5fc128.tar.gz
(sys_subshell): Use type test macros.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 95398fa500c..3b2b2f613b3 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -667,7 +667,7 @@ sys_subshell ()
if (XFASTINT (Fboundp (dir)) == XFASTINT (Qnil))
goto xyzzy;
dir = Fsymbol_value (dir);
- if (XTYPE (dir) != Lisp_String)
+ if (!STRINGP (dir))
goto xyzzy;
dir = expand_and_dir_to_file (Funhandled_file_name_directory (dir), Qnil);