aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
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.")
362 { 362 {
363 sprintf (number, "<%d>", ++count); 363 sprintf (number, "<%d>", ++count);
364 gentemp = concat2 (name, build_string (number)); 364 gentemp = concat2 (name, build_string (number));
365 tem = Fstring_equal (name, ignore); 365 tem = Fstring_equal (gentemp, ignore);
366 if (!NILP (tem)) 366 if (!NILP (tem))
367 return gentemp; 367 return gentemp;
368 tem = Fget_buffer (gentemp); 368 tem = Fget_buffer (gentemp);