(Fgenerate_new_buffer_name): GENTEMP is the value compare against IGNORE.
authorRichard M. Stallman <rms@gnu.org>
Fri, 11 Jun 1993 20:50:08 +0000 (20:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 11 Jun 1993 20:50:08 +0000 (20:50 +0000)
src/buffer.c

index c08135b..ebfaca8 100644 (file)
@@ -362,7 +362,7 @@ even if a buffer with that name exists.")
     {
       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);