changeset 73972:98d8e09fad2d

(rmail-output-body-to-file): Use `format', not `message', in `y-or-n-p' call.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 13 Nov 2006 10:25:40 +0000
parents 4ef05dc6f458
children a36e68eb4ae8
files lisp/mail/rmailout.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmailout.el	Mon Nov 13 10:24:55 2006 +0000
+++ b/lisp/mail/rmailout.el	Mon Nov 13 10:25:40 2006 +0000
@@ -408,7 +408,7 @@
     (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)