]> code.delx.au - gnu-emacs/commitdiff
(Fcall_process_region): Bind file-name-handler-alist to nil for the call to
authorKen Raeburn <raeburn@raeburn.org>
Sun, 1 Jan 2006 11:41:36 +0000 (11:41 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Sun, 1 Jan 2006 11:41:36 +0000 (11:41 +0000)
Fwrite_region.

src/ChangeLog
src/callproc.c

index e550604498d8798a16b9d9b7715a9a77f86ba49a..6ad7c939bce1dc226d10dabb2e2516fde2317637 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-01  Ken Raeburn  <raeburn@gnu.org>
+
+       * callproc.c (Fcall_process_region): Bind file-name-handler-alist
+       to nil for the call to Fwrite_region.
+
 2005-12-31  Richard M. Stallman  <rms@gnu.org>
 
        * minibuf.c (read_minibuf): Clear out all other minibuffer windows.
index 47930819c07d581e4b73ce38dbad6a5a32c0b040..a9b9d2bff6af6180fc8be8baf18c9b8224e09ea9 100644 (file)
@@ -1126,6 +1126,9 @@ usage: (call-process-region START END PROGRAM &optional DELETE BUFFER DISPLAY &r
     int count1 = SPECPDL_INDEX ();
 
     specbind (intern ("coding-system-for-write"), val);
+    /* POSIX lets mk[s]temp use "."; don't invoke jka-compr if we
+       happen to get a ".Z" suffix.  */
+    specbind (intern ("file-name-handler-alist"), Qnil);
     Fwrite_region (start, end, filename_string, Qnil, Qlambda, Qnil, Qnil);
 
     unbind_to (count1, Qnil);