changeset 11057:9081dcfc25ae

(ediff-patch-buffer): Use buffer name in error message.
author Karl Heuer <kwzh@gnu.org>
date Sat, 18 Mar 1995 01:12:12 +0000
parents e168f57ece92
children f8238a1ab991
files lisp/ediff.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ediff.el	Fri Mar 17 23:00:49 1995 +0000
+++ b/lisp/ediff.el	Sat Mar 18 01:12:12 1995 +0000
@@ -2491,7 +2491,7 @@
 	 (file-name (if file-buffer (buffer-file-name  file-buffer))))
     (if (not file-name)
 	(error "Buffer %s doesn't exist or doesn't visit any file.  Why patch?"
-	       file-name))
+	       buffer-name))
     
     (ediff-patch-file file-name startup-hooks)))