Mercurial > emacs
changeset 98186:1cfa973fde14
(make_conversion_work_buffer): Avoid calling
Fget_buffer_create if it is not necessary.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 16 Sep 2008 01:16:58 +0000 |
parents | c9d121831418 |
children | d313d777342f |
files | src/coding.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/coding.c Tue Sep 16 01:12:09 2008 +0000 +++ b/src/coding.c Tue Sep 16 01:16:58 2008 +0000 @@ -6972,10 +6972,10 @@ } 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));