(rmail-output-body-to-file): Use `format', not `message', in `y-or-n-p' call.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 13 Nov 2006 10:25:40 +0000 (10:25 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 13 Nov 2006 10:25:40 +0000 (10:25 +0000)
lisp/mail/rmailout.el

index e09e1eb..d7b4c59 100644 (file)
@@ -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)