diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-03-22 10:42:44 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-03-22 21:17:38 -0400 |
commit | afc6b1c0b635e3268795c0f766be408c5e9858e7 (patch) | |
tree | cc93d5ea9cfcb72831b25b8c18c84fb1948de8d2 /gnu | |
parent | 6607aad53cce018e55fc26fc643978389132eddb (diff) | |
download | guix-afc6b1c0b635e3268795c0f766be408c5e9858e7.tar guix-afc6b1c0b635e3268795c0f766be408c5e9858e7.tar.gz |
build: emacs-utils: Add an option to select scoping for batch eval.
In Emacs 27, --eval now evaluates using lexical scoping. This change adds an
option to select dynamic scoping, by using a workaround proposed in
<https://bugs.gnu.org/39823>.
* guix/build/emacs-utils.scm (emacs-batch-eval): Add a DYNAMIC? keyword
argument. Wrap the EXPR with a call to EVAL that makes use of the argument
to select the scoping mode.
(emacs-generate-autoloads): Use it.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions