diff src/callproc.c @ 367:a4f53d9b3154 r21-1-13

Import from CVS: tag r21-1-13
author cvs
date Mon, 13 Aug 2007 11:01:07 +0200
parents 30d2cfa1092a
children cc15677e0335
line wrap: on
line diff
--- a/src/callproc.c	Mon Aug 13 11:00:13 2007 +0200
+++ b/src/callproc.c	Mon Aug 13 11:01:07 2007 +0200
@@ -224,8 +224,8 @@
        buffer's current directory.  We can't just have the child check
        for an error when it does the chdir, since it's in a vfork.  */
 
+    current_dir = current_buffer->directory;
     NGCPRO2 (current_dir, path);   /* Caller gcprotects args[] */
-    current_dir = current_buffer->directory;
     current_dir = Funhandled_file_name_directory (current_dir);
     current_dir = expand_and_dir_to_file (current_dir, Qnil);
 #if 0