jwiegley / emacs-async

Simple library for asynchronous processing in Emacs
GNU General Public License v3.0
832 stars 68 forks source link

async-let is not working byte-compiled #76

Closed thierryvolpiatto closed 7 years ago

thierryvolpiatto commented 7 years ago

For now async-let is not working byte-compiled, bindings are taken as functions by the byte-compiler. e.g: helm-files.el:1439:34:Warning: `(sum (with-temp-buffer012 (insert-file-contents-literally file) (secure-hash algo012 (current-buffer))))' is a malformed function

and when using the code after restarting emacs I endup with an error: invalid function (sum ...)

So to reproduce, I guess you can just compile a file containing a simple example of asyn-let, load it and use the provided code.

thierryvolpiatto commented 7 years ago

Otherwise, the same code just evaled from source file is working fine.

thierryvolpiatto commented 7 years ago

Forget it, just need to require async at compile time.