aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorJim Blandy1992-12-12 15:31:32 +0000
committerJim Blandy1992-12-12 15:31:32 +0000
commit58616e67550336ab0555ed21d4f32c329d77bf88 (patch)
tree024af90c901d9f8f879fc399fa72c1d96950c567 /src/process.c
parent9e012fc3b7d26bbe446023440ba359a397169e80 (diff)
downloademacs-58616e67550336ab0555ed21d4f32c329d77bf88.tar.gz
emacs-58616e67550336ab0555ed21d4f32c329d77bf88.zip
Give subprocess creation a way to find a valid current directory
for subprocesses when the buffer's default-directory is a handled name. * fileio.c (Funhandled_file_name_directory): New function. (Qunhandled_file_name_directory): New file-name-handler operation. (syms_of_fileio): Defsubr Sunhandled_file_name_directory, and initialize and staticpro Qunhandled_file_name_directory. * callproc.c (Fcall_process): Call Funhandled_file_name_directory on the buffer's default directory. Do it earlier in the function so there's less to GCPRO. * process.c (create_process): Don't check the validity of the buffer's default directory here... (Fstart_process): Instead, do it here; if we call Funhandled_file_name_directory here, there's less GCPROing to do. * callproc.c (Fcall_process_region): Return the value returned by Fcall_process.
Diffstat (limited to 'src/process.c')
0 files changed, 0 insertions, 0 deletions