[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55156: [PATCH] eval.c: New functions `defvar-f` and `defconst-f`
From: |
Lars Ingebrigtsen |
Subject: |
bug#55156: [PATCH] eval.c: New functions `defvar-f` and `defconst-f` |
Date: |
Thu, 28 Apr 2022 00:11:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:
> This sounds scary, but the reality is less so: while the behavior of
> the special form obeyed its doc in this respect, the behavior of the
> convoluted code generated by the byte-compiler did not(!) and always
> evaluated the <exp> part anyway. So this patch also aligns the two
> semantics to provide the same behavior.
Uhm -- are you saying that if you load an .elc file twice, the <exp>
parts in the defvars will be evaluated twice?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug#55156: [PATCH] eval.c: New functions `defvar-f` and `defconst-f`, Eli Zaretskii, 2022/04/28