diff options
author | Arun Isaac | 2020-08-02 22:21:24 +0530 |
---|---|---|
committer | Arun Isaac | 2020-08-03 01:24:12 +0530 |
commit | 2ef369f0fd06b4eb48b9f539553835838daf621f (patch) | |
tree | 55657e3a7db25f58e784ef2d517525da669c8ffa /ennum-image.el | |
parent | d88427a30a52314e7c99282bd556ac35cfed6ddb (diff) | |
download | ennum-2ef369f0fd06b4eb48b9f539553835838daf621f.tar.gz ennum-2ef369f0fd06b4eb48b9f539553835838daf621f.tar.lz ennum-2ef369f0fd06b4eb48b9f539553835838daf621f.zip |
Use closures instead of ennum-exp objects.
The lexical environment of a closure can capture all inputs to an
expression. Earlier we were capturing some of these inputs using the
inputs slot of an ennum-exp object. Capturing dynamically scoped
global variables is a different matter, and is not addressed by this
commit.
* ennum.el (ennum-exp): Delete type.
(ennum--rewrite-inputs): Delete macro.
(ennum-eval): Deal with closures not ennum-exp objects.
(ennum-store-item-union, ennum-publish-post, ennum-publish-generic,
ennum-publish-feed, ennum-publish-image, ennum-publish-copy): Pass
inputs as lexically bound variables of a closure, rather than as
ennum-exp inputs.
Diffstat (limited to 'ennum-image.el')
0 files changed, 0 insertions, 0 deletions