diff options
| author | Karl Heuer | 1994-10-11 01:47:06 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-10-11 01:47:06 +0000 |
| commit | 0e7e7a58b7ca6ac9481273d5e4325e1d7b699ef9 (patch) | |
| tree | 31b39c6c461467c251fd21f5a4cc3a4a178b0171 /src | |
| parent | 0ea48932ec3886c4ec1cd16447ca28002e674bf3 (diff) | |
| download | emacs-0e7e7a58b7ca6ac9481273d5e4325e1d7b699ef9.tar.gz emacs-0e7e7a58b7ca6ac9481273d5e4325e1d7b699ef9.zip | |
(sys_subshell): Use NILP macro directly, not its expansion. Previous code was
leftover from when NULL was a bad word.
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 3 |
1 files changed, 1 insertions, 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 () | |||
| 677 | which somehow wedges the hp compiler. So instead... */ | 677 | which somehow wedges the hp compiler. So instead... */ |
| 678 | 678 | ||
| 679 | dir = intern ("default-directory"); | 679 | dir = intern ("default-directory"); |
| 680 | /* Can't use NILP */ | 680 | if (NILP (Fboundp (dir))) |
| 681 | if (XFASTINT (Fboundp (dir)) == XFASTINT (Qnil)) | ||
| 682 | goto xyzzy; | 681 | goto xyzzy; |
| 683 | dir = Fsymbol_value (dir); | 682 | dir = Fsymbol_value (dir); |
| 684 | if (!STRINGP (dir)) | 683 | if (!STRINGP (dir)) |