changeset 80463:e882cf931fd4

(dired-overwrite-confirmed): Undo last change.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 06 Apr 2008 21:05:17 +0000
parents 837d54fb9fc9
children 8db0c1448dec
files lisp/dired-aux.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired-aux.el	Sun Apr 06 21:01:54 2008 +0000
+++ b/lisp/dired-aux.el	Sun Apr 06 21:05:17 2008 +0000
@@ -1129,7 +1129,10 @@
 		 (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.