bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34765: 26.1; with-temp-buffer should not run buffer-list-update-hook


From: Basil L. Contovounesios
Subject: bug#34765: 26.1; with-temp-buffer should not run buffer-list-update-hook
Date: Fri, 26 Apr 2019 18:14:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

martin rudalics <rudalics@gmx.at> writes:

> I attach a preliminary patch.

Your patch allows the following additional change, right?

diff --git a/src/coding.c b/src/coding.c
index 2c6b2c4d05..3dd5f3b1c1 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -7820,9 +7820,7 @@ code_conversion_save (bool with_work_buf, bool multibyte)
     {
       if (reused_workbuf_in_use)
        {
-         Lisp_Object name
-           = Fgenerate_new_buffer_name (Vcode_conversion_workbuf_name, Qnil);
-         workbuf = Fget_buffer_create (name);
+          workbuf = Fgenerate_new_buffer (Vcode_conversion_workbuf_name, Qt);
        }
       else
        {
Thanks,

-- 
Basil

reply via email to

[Prev in Thread] Current Thread [Next in Thread]