summaryrefslogtreecommitdiff
path: root/lisp/dired-aux.el
diff options
context:
space:
mode:
authorRomain Francoise <romain@orebokech.com>2005-09-19 10:13:34 +0000
committerRomain Francoise <romain@orebokech.com>2005-09-19 10:13:34 +0000
commitb720164466434a80c4675f30bd54f6b28f365d1b (patch)
treeb5acf6f49751f2a4be23c54525131595e7bb6527 /lisp/dired-aux.el
parent4ff094a82632223f032d3e9f17cf4b4d82706ae8 (diff)
downloademacs-b720164466434a80c4675f30bd54f6b28f365d1b.tar.gz
(dired-handle-overwrite): Don't use `format' here. The prompt is
formatted later. From Johan Bockg� <bojohan+sf@dd.chalmers.se>.
Diffstat (limited to 'lisp/dired-aux.el')
-rw-r--r--lisp/dired-aux.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 17e61792d33..6426c6daf58 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -1126,8 +1126,8 @@ Special value `always' suppresses confirmation."
(setq backup (car (find-backup-file-name to)))
(or (eq 'always dired-backup-overwrite)
(dired-query 'overwrite-backup-query
- (format "Make backup for existing file `%s'? "
- to))))
+ "Make backup for existing file `%s'? "
+ to)))
(progn
(rename-file to backup 0) ; confirm overwrite of old backup
(dired-relist-entry backup)))))