From a993c7a1db392a0f87c92dcc34cffbc2ee951fd3 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 16 Sep 2008 01:16:58 +0000 Subject: [PATCH] (make_conversion_work_buffer): Avoid calling Fget_buffer_create if it is not necessary. --- src/coding.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/coding.c b/src/coding.c index 65754b4b1bb..f7722f3212b 100644 --- a/src/coding.c +++ b/src/coding.c @@ -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));