changeset 65615:9d6362a802ba

(dired-handle-overwrite): Don't use `format' here. The prompt is formatted later. From Johan Bockg? <bojohan+sf@dd.chalmers.se>.
author Romain Francoise <romain@orebokech.com>
date Mon, 19 Sep 2005 10:13:34 +0000
parents 550b69cb1820
children cabd12ecc31c
files lisp/ChangeLog lisp/dired-aux.el
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Sep 19 09:52:32 2005 +0000
+++ b/lisp/ChangeLog	Mon Sep 19 10:13:34 2005 +0000
@@ -1,3 +1,8 @@
+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
--- a/lisp/dired-aux.el	Mon Sep 19 09:52:32 2005 +0000
+++ b/lisp/dired-aux.el	Mon Sep 19 10:13:34 2005 +0000
@@ -1126,8 +1126,8 @@
 	     (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)))))