Mercurial > emacs
comparison src/coding.c @ 89446:1c88b057b9d3
(make_conversion_work_buffer): Change the work buffer
name to the same one as that of Emacs 21.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Thu, 29 May 2003 02:18:56 +0000 |
| parents | 7349f4473e7f |
| children | de8b460070cc |
comparison
equal
deleted
inserted
replaced
| 89445:e15e5e4d3cfa | 89446:1c88b057b9d3 |
|---|---|
| 6155 | 6155 |
| 6156 if (depth == 0) | 6156 if (depth == 0) |
| 6157 { | 6157 { |
| 6158 if (NILP (Vcode_conversion_reused_work_buf)) | 6158 if (NILP (Vcode_conversion_reused_work_buf)) |
| 6159 Vcode_conversion_reused_work_buf | 6159 Vcode_conversion_reused_work_buf |
| 6160 = Fget_buffer_create (build_string (" *code-conversion-work<0>*")); | 6160 = Fget_buffer_create (build_string (" *code-converting-work<0>*")); |
| 6161 buf = Vcode_conversion_reused_work_buf; | 6161 buf = Vcode_conversion_reused_work_buf; |
| 6162 } | 6162 } |
| 6163 else | 6163 else |
| 6164 { | 6164 { |
| 6165 if (depth < 0) | 6165 if (depth < 0) |
| 6166 { | 6166 { |
| 6167 name = build_string (" *code-conversion-work*"); | 6167 name = build_string (" *code-converting-work*"); |
| 6168 name = Fgenerate_new_buffer_name (name, Qnil); | 6168 name = Fgenerate_new_buffer_name (name, Qnil); |
| 6169 } | 6169 } |
| 6170 else | 6170 else |
| 6171 { | 6171 { |
| 6172 char str[128]; | 6172 char str[128]; |
| 6173 | 6173 |
| 6174 sprintf (str, " *code-conversion-work*<%d>", depth); | 6174 sprintf (str, " *code-converting-work*<%d>", depth); |
| 6175 name = build_string (str); | 6175 name = build_string (str); |
| 6176 } | 6176 } |
| 6177 buf = Fget_buffer_create (name); | 6177 buf = Fget_buffer_create (name); |
| 6178 } | 6178 } |
| 6179 set_buffer_internal (XBUFFER (buf)); | 6179 set_buffer_internal (XBUFFER (buf)); |
