comparison src/buffer.c @ 3665:0cffa82ec7de

(Fgenerate_new_buffer_name): GENTEMP is the value compare against IGNORE.
author Richard M. Stallman <rms@gnu.org>
date Fri, 11 Jun 1993 20:50:08 +0000
parents 507f64624555
children 16948869ab5b
comparison
equal deleted inserted replaced
3664:85a3657c501d 3665:0cffa82ec7de
360 count = 1; 360 count = 1;
361 while (1) 361 while (1)
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);
369 if (NILP (tem)) 369 if (NILP (tem))
370 return gentemp; 370 return gentemp;