emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dired-aux.el: prompt string formatted twice


From: Johan Bockgård
Subject: dired-aux.el: prompt string formatted twice
Date: Mon, 19 Sep 2005 01:01:03 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

2005-09-19  Johan Bockgård  <address@hidden>

        * dired-aux.el (dired-handle-overwrite): Don't use `format' here.
          The prompt is formatted later.

--- dired-aux.el        18 Sep 2005 12:25:01 -0000      1.138
+++ dired-aux.el        18 Sep 2005 22:44:50 -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)))))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]