forked from jwiegley/emacs-async
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent accidental creation of lexical closures.
Fixes jwiegley#17. (Try async-test-7)
- Loading branch information
1 parent
9c02acd
commit 8e05e02
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8e05e02
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about using
apply-partially
instead ofeval
?8e05e02
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That appears to work too.
8e05e02
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, it seems to fail some tests when I use apply-partially.
8e05e02
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
8e05e02
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I got
apply-partially
to work correctly. However, I don't really see the advantage overeval
.