diff options
| author | Richard M. Stallman | 1993-06-11 20:50:08 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-06-11 20:50:08 +0000 |
| commit | 638e4fc3ad80bb2d0e9c1114905fff7a4710bbb0 (patch) | |
| tree | f9e5ad7b1d3f283830fbe5b13f78156c84895b21 /src | |
| parent | 645d62199dfc9de6f8ef2e6af0cb38da810be17c (diff) | |
| download | emacs-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.c | 2 |
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); |