From: Chong Yidong Date: Sun, 6 Apr 2008 21:05:17 +0000 (+0000) Subject: (dired-overwrite-confirmed): Undo last change. X-Git-Tag: emacs-pretest-22.2.90~218 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9a628d95f32093923f8a21da03d4e04b0aec8380;p=emacs.git (dired-overwrite-confirmed): Undo last change. --- diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index d7d1d607999..407e7296adc 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -1129,7 +1129,10 @@ Special value `always' suppresses confirmation." (other :tag "ask" t)) :group 'dired) -(defvar dired-overwrite-confirmed nil) +;; This is a fluid var used in dired-handle-overwrite. It should be +;; let-bound whenever dired-copy-file etc are called. See +;; dired-create-files for an example. +(defvar dired-overwrite-confirmed) (defun dired-handle-overwrite (to) ;; Save old version of file TO that is to be overwritten.