summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-06-11 20:50:08 +0000
committerRichard M. Stallman <rms@gnu.org>1993-06-11 20:50:08 +0000
commit638e4fc3ad80bb2d0e9c1114905fff7a4710bbb0 (patch)
treef9e5ad7b1d3f283830fbe5b13f78156c84895b21 /src/buffer.c
parent645d62199dfc9de6f8ef2e6af0cb38da810be17c (diff)
downloademacs-638e4fc3ad80bb2d0e9c1114905fff7a4710bbb0.tar.gz
(Fgenerate_new_buffer_name): GENTEMP is the value compare against IGNORE.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index c08135b2e00..ebfaca85e97 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -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);