diff options
| -rw-r--r-- | src/fileio.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/fileio.c b/src/fileio.c index 741e297d29c..caf077e2fbf 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -2987,12 +2987,16 @@ file_directory_p (Lisp_Object file) | |||
| 2987 | DEFUN ("file-accessible-directory-p", Ffile_accessible_directory_p, | 2987 | DEFUN ("file-accessible-directory-p", Ffile_accessible_directory_p, |
| 2988 | Sfile_accessible_directory_p, 1, 1, 0, | 2988 | Sfile_accessible_directory_p, 1, 1, 0, |
| 2989 | doc: /* Return t if FILENAME names a directory you can open. | 2989 | doc: /* Return t if FILENAME names a directory you can open. |
| 2990 | For the value to be t, FILENAME must specify the name of a directory | 2990 | This means that FILENAME must specify the name of a directory, and the |
| 2991 | as a file, and the directory must allow you to open files in it. In | 2991 | directory must allow you to open files in it. If this isn't the case, |
| 2992 | order to use a directory as a buffer's current directory, this | 2992 | return nil. |
| 2993 | predicate must return true. A directory name spec may be given | 2993 | |
| 2994 | instead; then the value is t if the directory so specified exists and | 2994 | FILENAME can either be a directory name (eg. \"/tmp/foo/\") or the |
| 2995 | really is a readable and searchable directory. */) | 2995 | file name of a file which is a directory (eg. \"/tmp/foo\", without |
| 2996 | the final slash). | ||
| 2997 | |||
| 2998 | In order to use a directory as a buffer's current directory, this | ||
| 2999 | predicate must return true. */) | ||
| 2996 | (Lisp_Object filename) | 3000 | (Lisp_Object filename) |
| 2997 | { | 3001 | { |
| 2998 | Lisp_Object absname; | 3002 | Lisp_Object absname; |