summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-03-22 10:42:44 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-03-22 21:17:38 -0400
commitafc6b1c0b635e3268795c0f766be408c5e9858e7 (patch)
treecc93d5ea9cfcb72831b25b8c18c84fb1948de8d2 /gnu/packages
parent6607aad53cce018e55fc26fc643978389132eddb (diff)
downloadguix-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/packages')
0 files changed, 0 insertions, 0 deletions