GNU bug report logs - #34765
26.1; with-temp-buffer should not run buffer-list-update-hook

Previous Next

Package: emacs;

Reported by: Alexander Miller <alexanderm <at> web.de>

Date: Tue, 5 Mar 2019 22:58:02 UTC

Severity: normal

Tags: fixed

Found in version 26.1

Fixed in version 28.1

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


Message #179 received at 34765 <at> debbugs.gnu.org (full text, mbox):

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 34765 <at> debbugs.gnu.org, rudalics <at> gmx.at, larsi <at> gnus.org,
 monnier <at> IRO.UMontreal.CA, alexanderm <at> web.de
Subject: Re: bug#34765: 26.1; with-temp-buffer should not run
 buffer-list-update-hook
Date: Mon, 07 Dec 2020 22:37:09 +0000
"Basil L. Contovounesios" <contovob <at> 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




This bug report was last modified 4 years and 153 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.