aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-06-11 20:50:08 +0000
committerRichard M. Stallman1993-06-11 20:50:08 +0000
commit638e4fc3ad80bb2d0e9c1114905fff7a4710bbb0 (patch)
treef9e5ad7b1d3f283830fbe5b13f78156c84895b21 /src
parent645d62199dfc9de6f8ef2e6af0cb38da810be17c (diff)
downloademacs-638e4fc3ad80bb2d0e9c1114905fff7a4710bbb0.tar.gz
emacs-638e4fc3ad80bb2d0e9c1114905fff7a4710bbb0.zip
(Fgenerate_new_buffer_name): GENTEMP is the value compare against IGNORE.
Diffstat (limited to 'src')
-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);