Commit 638e4fc3 authored by Richard M. Stallman's avatar Richard M. Stallman

(Fgenerate_new_buffer_name): GENTEMP is the value compare against IGNORE.

parent 645d6219
...@@ -362,7 +362,7 @@ even if a buffer with that name exists.") ...@@ -362,7 +362,7 @@ even if a buffer with that name exists.")
{ {
sprintf (number, "<%d>", ++count); sprintf (number, "<%d>", ++count);
gentemp = concat2 (name, build_string (number)); gentemp = concat2 (name, build_string (number));
tem = Fstring_equal (name, ignore); tem = Fstring_equal (gentemp, ignore);
if (!NILP (tem)) if (!NILP (tem))
return gentemp; return gentemp;
tem = Fget_buffer (gentemp); tem = Fget_buffer (gentemp);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment