]> git.eshelyaron.com Git - emacs.git/commitdiff
(dired-overwrite-confirmed): Undo last change.
authorChong Yidong <cyd@stupidchicken.com>
Sun, 6 Apr 2008 21:05:17 +0000 (21:05 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 6 Apr 2008 21:05:17 +0000 (21:05 +0000)
lisp/dired-aux.el

index d7d1d6079993263e1fcca25738283d65897ba4ec..407e7296adcfac3d9740e15de39ffbd2f379ab81 100644 (file)
@@ -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.