changeset 76453:5e29de959ce6

(diff-apply-hunk): Use proper format string for error.
author Andreas Schwab <schwab@suse.de>
date Sun, 11 Mar 2007 10:44:41 +0000
parents fd659a939db9
children 2e651c268ac1
files lisp/diff-mode.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/diff-mode.el	Sun Mar 11 06:19:48 2007 +0000
+++ b/lisp/diff-mode.el	Sun Mar 11 10:44:41 2007 +0000
@@ -1375,7 +1375,8 @@
                        (yes-or-no-p (format "Really apply this hunk to %s? "
                                             (file-name-nondirectory
                                              buffer-file-name)))))))
-      (error (substitute-command-keys
+      (error "%s"
+	     (substitute-command-keys
               (format "Use %s\\[diff-apply-hunk] to apply it to the other file"
                       (if (not reverse) "\\[universal-argument] ")))))
      ((and switched