]> git.eshelyaron.com Git - emacs.git/commitdiff
(ange-ftp-write-region): Don't bind executing-kbd-macro; instead, pass
authorRichard M. Stallman <rms@gnu.org>
Sun, 29 Sep 2002 18:24:03 +0000 (18:24 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 29 Sep 2002 18:24:03 +0000 (18:24 +0000)
non-nil VISIT arg to ange-ftp-real-write-region.

lisp/net/ange-ftp.el

index f1d195d12009b909365238ecf8a6b73922e29f2f..af0a347416af80b2dc123d80e100ec89b2050646 100644 (file)
@@ -3161,12 +3161,12 @@ system TYPE.")
               (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)