From 9a628d95f32093923f8a21da03d4e04b0aec8380 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 6 Apr 2008 21:05:17 +0000 Subject: [PATCH] (dired-overwrite-confirmed): Undo last change. --- lisp/dired-aux.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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. -- 2.39.2