Commit 593b4fa8 authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(diff-apply-hunk): Use proper format string for

error.
parent c13ba385
2007-03-11 Andreas Schwab <schwab@suse.de>
* diff-mode.el (diff-apply-hunk): Use proper format string for
error.
2007-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
 
* mail/emacsbug.el (report-emacs-bug): Don't hard code the "X" name.
......@@ -1375,7 +1375,8 @@ With a prefix argument, REVERSE the hunk."
(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
......
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