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: Mon, 07 Dec 2020 22:37:09 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

"Basil L. Contovounesios" <contovob@tcd.ie> writes:

> +/* Run 'buffer-list-update-hook' if Vrun_hooks is non-nil, and BUF is
> +   either NULL or does not have buffer hooks inhibited.  */
> +
> +static void
> +run_buffer_list_update_hook (struct buffer *buf) {
                                                   ^^
Oops, will fix style locally.

> +  if (! (NILP (Vrun_hooks) || (buf && buf->inhibit_buffer_hooks)))
> +    call1 (Vrun_hooks, Qbuffer_list_update_hook);
> +}

-- 
Basil





reply via email to

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