Commit 2c1459a0 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(rmail-output-body-to-file): Use `format', not `message', in `y-or-n-p' call.

parent 674b7bae
......@@ -408,7 +408,7 @@ FILE-NAME defaults, interactively, from the Subject field of the message."
(goto-char (point-min))
(search-forward "\n\n")
(and (file-exists-p file-name)
(not (y-or-n-p (message "File %s exists; overwrite? " file-name)))
(not (y-or-n-p (format "File %s exists; overwrite? " file-name)))
(error "Operation aborted"))
(write-region (point) (point-max) file-name)
(if (equal major-mode 'rmail-mode)
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