Mercurial > emacs
changeset 1509:9675ae1d95c2
* dired.c (find_file_handler): Declare this extern.
(Ffile_attributes): Use NILP, not == Qnil.
* dired.c (Ffile_attributes): Doc fix.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 31 Oct 1992 05:17:46 +0000 |
parents | 768d4c10c2bf |
children | 2fd5263590ea |
files | src/dired.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dired.c Sat Oct 31 05:17:14 1992 +0000 +++ b/src/dired.c Sat Oct 31 05:17:46 1992 +0000 @@ -67,6 +67,8 @@ #define lstat stat #endif +extern Lisp_Object find_file_handler (); + Lisp_Object Vcompletion_ignored_extensions; Lisp_Object Qcompletion_ignore_case; @@ -472,7 +474,7 @@ 10. inode number.\n\ 11. Device number.\n\ \n\ -If file does not exists, returns nil.") +If file does not exist, returns nil.") (filename) Lisp_Object filename; { @@ -520,7 +522,7 @@ #endif #ifdef BSD4_2 /* file gid will be dir gid */ dirname = Ffile_name_directory (filename); - if (dirname != Qnil && stat (XSTRING (dirname)->data, &sdir) == 0) + if (! NILP (dirname) && stat (XSTRING (dirname)->data, &sdir) == 0) values[9] = (sdir.st_gid != s.st_gid) ? Qt : Qnil; else /* if we can't tell, assume worst */ values[9] = Qt;