From: Richard M. Stallman Date: Sun, 29 Sep 2002 18:24:03 +0000 (+0000) Subject: (ange-ftp-write-region): Don't bind executing-kbd-macro; instead, pass X-Git-Tag: emacs-pretest-21.2.91~25 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c857be22cab33220160c7ffbbb598c6e7f26fe71;p=emacs.git (ange-ftp-write-region): Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg to ange-ftp-real-write-region. --- diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el index f1d195d1200..af0a347416a 100644 --- a/lisp/net/ange-ftp.el +++ b/lisp/net/ange-ftp.el @@ -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)