changeset 3665:0cffa82ec7de

(Fgenerate_new_buffer_name): GENTEMP is the value compare against IGNORE.
author Richard M. Stallman <rms@gnu.org>
date Fri, 11 Jun 1993 20:50:08 +0000
parents 85a3657c501d
children c7ff787b096f
files src/buffer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Fri Jun 11 20:48:08 1993 +0000
+++ b/src/buffer.c	Fri Jun 11 20:50:08 1993 +0000
@@ -362,7 +362,7 @@
     {
       sprintf (number, "<%d>", ++count);
       gentemp = concat2 (name, build_string (number));
-      tem = Fstring_equal (name, ignore);
+      tem = Fstring_equal (gentemp, ignore);
       if (!NILP (tem))
 	return gentemp;
       tem = Fget_buffer (gentemp);