Mercurial > emacs
diff lisp/diff-mode.el @ 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 | 0aef0bcf12f7 |
| children | 3a37aeee9537 8c2ef9d5d4a8 |
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
