changeset 93775:2172dd8304ae

(dired-overwrite-confirmed): Revert last change.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 06 Apr 2008 20:11:37 +0000
parents 2604709dd36f
children 7b39fa7db791
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 20:11:21 2008 +0000
+++ b/lisp/dired-aux.el	Sun Apr 06 20:11:37 2008 +0000
@@ -1179,7 +1179,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.