changeset 73970:53a71b783884

(ediff-revision): Use `format', not `message', in `y-or-n-p' call.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 13 Nov 2006 10:23:44 +0000
parents 5e2467f79e47
children 4ef05dc6f458
files lisp/ediff.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ediff.el	Mon Nov 13 08:40:32 2006 +0000
+++ b/lisp/ediff.el	Mon Nov 13 10:23:44 2006 +0000
@@ -1401,8 +1401,8 @@
 				'no-dirs)))
   (find-file file)
   (if (and (buffer-modified-p)
-	   (y-or-n-p (message "Buffer %s is modified. Save buffer? "
-			      (buffer-name))))
+	   (y-or-n-p (format "Buffer %s is modified. Save buffer? "
+                             (buffer-name))))
       (save-buffer (current-buffer)))
   (let (rev1 rev2)
     (setq rev1