changeset 46336:af464c20ffb2

(ange-ftp-write-region): Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg to ange-ftp-real-write-region.
author Richard M. Stallman <rms@gnu.org>
date Fri, 12 Jul 2002 23:29:26 +0000
parents b4e553fa1fa8
children 28eae90ad697
files lisp/net/ange-ftp.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/ange-ftp.el	Fri Jul 12 23:28:15 2002 +0000
+++ b/lisp/net/ange-ftp.el	Fri Jul 12 23:29:26 2002 +0000
@@ -3317,12 +3317,12 @@
 	       (coding-system-used last-coding-system-used))
 	  (unwind-protect
 	      (progn
-		(let ((executing-kbd-macro t)
-		      (filename (buffer-file-name))
+		(let ((filename (buffer-file-name))
 		      (mod-p (buffer-modified-p)))
 		  (unwind-protect
 		      (progn
-			(ange-ftp-real-write-region start end temp nil visit)
+			(ange-ftp-real-write-region start end temp nil
+						    (or visit 'quiet))
 			(setq coding-system-used last-coding-system-used))
 		    ;; cleanup forms
 		    (setq coding-system-used last-coding-system-used)