From 2c1459a04a3fbe8e65d445b8f8d055d3ffa8ee61 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Mon, 13 Nov 2006 10:25:40 +0000 Subject: [PATCH] (rmail-output-body-to-file): Use `format', not `message', in `y-or-n-p' call. --- lisp/mail/rmailout.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." (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) -- 2.39.5