]> code.delx.au - gnu-emacs-elpa/commit
Replace closure prevention with closure sanitation
authorRyan C. Thompson <rct@thompsonclan.org>
Tue, 22 Oct 2013 00:06:42 +0000 (17:06 -0700)
committerRyan C. Thompson <rct@thompsonclan.org>
Tue, 22 Oct 2013 00:13:16 +0000 (17:13 -0700)
commit2a532d388db717a9eedfd2e80255e4b276cc2e1c
tree066bb10063a3e43148e5e1e2d5b6aaebfe77353b
parentba705c61187e969a67ce59c38861154ce7144eec
Replace closure prevention with closure sanitation

"Sanitation" means that if a closure's list of lexical variables
contains any variables with unprintable values, those variables are
removed from the list. When async-debug is on, this also generates a
message about the removed variables.

This solution is arguably more hackish, but should also work in every
case where the "prevent all closures" solution worked as well as some
more cases.
async-test.el
async.el