From: Kenichi Handa Date: Tue, 16 Sep 2008 01:16:58 +0000 (+0000) Subject: (make_conversion_work_buffer): Avoid calling X-Git-Tag: emacs-pretest-23.0.90~2889 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a993c7a1db392a0f87c92dcc34cffbc2ee951fd3;p=emacs.git (make_conversion_work_buffer): Avoid calling Fget_buffer_create if it is not necessary. --- 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));