[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#39373: 27.0.50; [PATCH] mode-local-print-bindings broken with lexica
From: |
Eli Zaretskii |
Subject: |
bug#39373: 27.0.50; [PATCH] mode-local-print-bindings broken with lexical-binding |
Date: |
Sun, 02 Feb 2020 05:31:25 +0200 |
> From: Mattias Engdegård <mattiase@acm.org>
> Date: Sat, 1 Feb 2020 22:40:16 +0100
> Cc: Eli Zaretskii <eliz@gnu.org>, 39373@debbugs.gnu.org
>
> > BTW, this problem doesn't affect only `add-to-list`. Other culprits
> > include `add-hook`, `run-hooks`, `set`, and `symbol-value`.
>
> Right. I see that some of them are detected by the compiler (in
> byte-compile-form), but add-to-list is commented out.
>
> The set of functions is a bit open-ended; there is also add-to-ordered-list,
> add-to-history, etc. Not sure how much text needs to be added for all these.
> There is a general note about lexical variables and symbol values in the
> manual, in the section about lexical binding.
I'd prefer to have a short note in the description of each one of
them.
Thanks.