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: martin rudalics
Subject: bug#34765: 26.1; with-temp-buffer should not run buffer-list-update-hook
Date: Tue, 21 May 2019 09:32:29 +0200

>> It would be nice to get rid of the entire
>>
>>    b->inhibit_buffer_hooks
>>      = (STRINGP (Vcode_conversion_workbuf_name)
>>         && strncmp (SSDATA (name), SSDATA (Vcode_conversion_workbuf_name),
>>                   SBYTES (Vcode_conversion_workbuf_name)) == 0);
>>
>> form in 'get-buffer-create'.  Any ideas?
>
> Doesn't your patch in https://debbugs.gnu.org/34765#86 already eliminate
> the need for it?

FWIW no, it leaves that form in place.  And 'get-buffer-create' should
not have to worry about delving any deeper into the name than down to
its first character to check for ' ' or '*'.

But I'm not happy with my patch anyway.  Something more elegant is
needed.

martin





reply via email to

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