Mercurial > emacs
comparison lispref/files.texi @ 55847:d87f8236b6fd
files.texi (Magic File Names): Add `file-remote-p' as operation
of file name handlers.
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Sat, 29 May 2004 22:44:40 +0000 |
parents | dd5538a91d27 |
children | b5f852992d97 4c90ffeb71c5 |
comparison
equal
deleted
inserted
replaced
55846:aed680fa845d | 55847:d87f8236b6fd |
---|---|
2491 @code{expand-file-name}, | 2491 @code{expand-file-name}, |
2492 @code{file-accessible-directory-p}, | 2492 @code{file-accessible-directory-p}, |
2493 @code{file-attributes}, | 2493 @code{file-attributes}, |
2494 @code{file-directory-p}, | 2494 @code{file-directory-p}, |
2495 @code{file-executable-p}, @code{file-exists-p}, | 2495 @code{file-executable-p}, @code{file-exists-p}, |
2496 @code{file-local-copy}, | 2496 @code{file-local-copy}, @code{file-remote-p}, |
2497 @code{file-modes}, @code{file-name-all-completions}, | 2497 @code{file-modes}, @code{file-name-all-completions}, |
2498 @code{file-name-as-directory}, | 2498 @code{file-name-as-directory}, |
2499 @code{file-name-completion}, | 2499 @code{file-name-completion}, |
2500 @code{file-name-directory}, | 2500 @code{file-name-directory}, |
2501 @code{file-name-nondirectory}, | 2501 @code{file-name-nondirectory}, |
2535 @code{expand-file-name}, | 2535 @code{expand-file-name}, |
2536 @code{file-accessible-direc@discretionary{}{}{}tory-p}, | 2536 @code{file-accessible-direc@discretionary{}{}{}tory-p}, |
2537 @code{file-attributes}, | 2537 @code{file-attributes}, |
2538 @code{file-direct@discretionary{}{}{}ory-p}, | 2538 @code{file-direct@discretionary{}{}{}ory-p}, |
2539 @code{file-executable-p}, @code{file-exists-p}, | 2539 @code{file-executable-p}, @code{file-exists-p}, |
2540 @code{file-local-copy}, | 2540 @code{file-local-copy}, @code{file-remote-p}, |
2541 @code{file-modes}, @code{file-name-all-completions}, | 2541 @code{file-modes}, @code{file-name-all-completions}, |
2542 @code{file-name-as-directory}, | 2542 @code{file-name-as-directory}, |
2543 @code{file-name-completion}, | 2543 @code{file-name-completion}, |
2544 @code{file-name-directory}, | 2544 @code{file-name-directory}, |
2545 @code{file-name-nondirec@discretionary{}{}{}tory}, | 2545 @code{file-name-nondirec@discretionary{}{}{}tory}, |
2643 nothing and returns @code{nil}. Otherwise it returns the file name | 2643 nothing and returns @code{nil}. Otherwise it returns the file name |
2644 of the local copy file. | 2644 of the local copy file. |
2645 @end defun | 2645 @end defun |
2646 | 2646 |
2647 @defun file-remote-p filename | 2647 @defun file-remote-p filename |
2648 This function returns @code{t} if @var{filename} is a remote file---that is, | 2648 This function returns @code{t} if @var{filename} is a remote file. |
2649 a magic file name that handles @code{file-local-copy}. | |
2650 @end defun | 2649 @end defun |
2651 | 2650 |
2652 @defun unhandled-file-name-directory filename | 2651 @defun unhandled-file-name-directory filename |
2653 This function returns the name of a directory that is not magic. It | 2652 This function returns the name of a directory that is not magic. It |
2654 uses the directory part of @var{filename} if that is not magic. For a | 2653 uses the directory part of @var{filename} if that is not magic. For a |