mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-28 10:56:36 +00:00
(make_conversion_work_buffer): Avoid calling
Fget_buffer_create if it is not necessary.
This commit is contained in:
parent
3553906525
commit
a993c7a1db
@ -6972,10 +6972,10 @@ make_conversion_work_buffer (multibyte)
|
||||
}
|
||||
else
|
||||
{
|
||||
name = Vcode_conversion_workbuf_name;
|
||||
workbuf = Fget_buffer_create (name);
|
||||
if (NILP (Vcode_conversion_reused_workbuf))
|
||||
Vcode_conversion_reused_workbuf = workbuf;
|
||||
Vcode_conversion_reused_workbuf
|
||||
= Fget_buffer_create (Vcode_conversion_workbuf_name);
|
||||
workbuf = Vcode_conversion_reused_workbuf;
|
||||
}
|
||||
current = current_buffer;
|
||||
set_buffer_internal (XBUFFER (workbuf));
|
||||
|
Loading…
Reference in New Issue
Block a user