[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Simplify Gnus buffer liveness checking and killing
From: |
Eric Abrahamsen |
Subject: |
Re: [PATCH] Simplify Gnus buffer liveness checking and killing |
Date: |
Mon, 20 May 2019 14:43:56 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
"Basil L. Contovounesios" <address@hidden> writes:
> There seems to be overlap in the implementations and usage of
> gnus-buffer-exists-p and gnus-buffer-live-p, as well as of gnus-buffers
> and gnus-prune-buffers.
>
> The attached patch removes gnus-buffer-exists-p in favour of a modified
> gnus-buffer-live-p, aliases gnus-prune-buffers to a simplified
> gnus-buffers, and simplifies several call sites pertaining to buffer
> liveness checking and killing. WDYT?
I've been running this most of today; nothing terrible has happened so
far. Can I suggest adding `gnus-buffer-exists-p' back in as a
`define-obsolete-function-alias' for `gnus-buffer-live-p'? I assume that
will work for macros. Anyway, it would just be nicer for people who,
ahem, have external packages that were using that function.
Thanks,
Eric