Commit b7201644 authored by Romain Francoise's avatar Romain Francoise
Browse files

(dired-handle-overwrite): Don't use `format' here. The prompt is

formatted later.  From Johan Bockg� <bojohan+sf@dd.chalmers.se>.
parent 4ff094a8
2005-09-19 Johan Bockg,Ae(Brd <bojohan+sf@dd.chalmers.se>
* dired-aux.el (dired-handle-overwrite): Don't use `format' here.
The prompt is formatted later.
2005-09-19 David Ponce <david@dponce.com>
 
* tree-widget.el (tree-widget-value-create): Save the converted
......
......@@ -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)))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment