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

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

bug#48738: [PATCH] Optimized `describe-variable' predicate


From: Lars Ingebrigtsen
Subject: bug#48738: [PATCH] Optimized `describe-variable' predicate
Date: Mon, 31 May 2021 07:13:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I think I'll just go ahead and add `buffer-local-boundp' now -- it'll
> perhaps encourage further usage of `buffer-local-value'.  I remember
> doing things like
>
> (with-current-buffer foo
>   (and (boundp 'zot) zot))
>
> because there's no `buffer-local-boundp'.

local-variable-p and local-variable-if-set-p, but neither really do what
you want in this case.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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