diff options
| author | Juanma Barranquero | 2006-11-13 10:25:40 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2006-11-13 10:25:40 +0000 |
| commit | 2c1459a04a3fbe8e65d445b8f8d055d3ffa8ee61 (patch) | |
| tree | 9e3ef9ca21f70c5db5d88f50c48cd31d26708d3e | |
| parent | 674b7bae631d3c256edb325a38454e5f8c36ce02 (diff) | |
| download | emacs-2c1459a04a3fbe8e65d445b8f8d055d3ffa8ee61.tar.gz emacs-2c1459a04a3fbe8e65d445b8f8d055d3ffa8ee61.zip | |
(rmail-output-body-to-file): Use `format', not `message', in `y-or-n-p' call.
| -rw-r--r-- | lisp/mail/rmailout.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/rmailout.el b/lisp/mail/rmailout.el index e09e1ebe1c8..d7b4c591e58 100644 --- a/lisp/mail/rmailout.el +++ b/lisp/mail/rmailout.el | |||
| @@ -408,7 +408,7 @@ FILE-NAME defaults, interactively, from the Subject field of the message." | |||
| 408 | (goto-char (point-min)) | 408 | (goto-char (point-min)) |
| 409 | (search-forward "\n\n") | 409 | (search-forward "\n\n") |
| 410 | (and (file-exists-p file-name) | 410 | (and (file-exists-p file-name) |
| 411 | (not (y-or-n-p (message "File %s exists; overwrite? " file-name))) | 411 | (not (y-or-n-p (format "File %s exists; overwrite? " file-name))) |
| 412 | (error "Operation aborted")) | 412 | (error "Operation aborted")) |
| 413 | (write-region (point) (point-max) file-name) | 413 | (write-region (point) (point-max) file-name) |
| 414 | (if (equal major-mode 'rmail-mode) | 414 | (if (equal major-mode 'rmail-mode) |