summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2008-04-06 21:05:17 +0000
committerChong Yidong <cyd@stupidchicken.com>2008-04-06 21:05:17 +0000
commit9a628d95f32093923f8a21da03d4e04b0aec8380 (patch)
tree1ce361a752ae4114d87ec9cd718476ff4d38020e
parent3b1b11e968c38c794e550a7689b3ca917b542d25 (diff)
downloademacs-9a628d95f32093923f8a21da03d4e04b0aec8380.tar.gz
(dired-overwrite-confirmed): Undo last change.
-rw-r--r--lisp/dired-aux.el5
1 files changed, 4 insertions, 1 deletions
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.