Mercurial > emacs
comparison doc/lispref/files.texi @ 91551:f14242124fd7
* process.c (Fstart_process):
* callproc.c (Fcall_process): Handle the case where
Funhandled_file_name_directory returns nil.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 06 Feb 2008 03:16:10 +0000 |
parents | 107ccd98fa12 |
children | c3512b2085a0 |
comparison
equal
deleted
inserted
replaced
91550:83267bc0360a | 91551:f14242124fd7 |
---|---|
2798 to its host. This is useful when you want to avoid the delay of | 2798 to its host. This is useful when you want to avoid the delay of |
2799 making connections when they don't exist. | 2799 making connections when they don't exist. |
2800 @end defun | 2800 @end defun |
2801 | 2801 |
2802 @defun unhandled-file-name-directory filename | 2802 @defun unhandled-file-name-directory filename |
2803 This function returns the name of a directory that is not magic. It | 2803 This function returns the name of a directory that is not magic. |
2804 uses the directory part of @var{filename} if that is not magic. For a | 2804 It uses the directory part of @var{filename} if that is not magic. |
2805 magic file name, it invokes the file name handler, which therefore | 2805 For a magic file name, it invokes the file name handler, which |
2806 decides what value to return. | 2806 therefore decides what value to return. If @var{filename} is not |
2807 accessible from a local process, then the file name handler should | |
2808 indicate it by returning nil. | |
2807 | 2809 |
2808 This is useful for running a subprocess; every subprocess must have a | 2810 This is useful for running a subprocess; every subprocess must have a |
2809 non-magic directory to serve as its current directory, and this function | 2811 non-magic directory to serve as its current directory, and this function |
2810 is a good way to come up with one. | 2812 is a good way to come up with one. |
2811 @end defun | 2813 @end defun |