This uses "symbol-file" instead of "find-library-name" to figure out
where async.el is. This works even if async.el was loaded without adding
its directory to the load-path.
Fixes #15.
(expand-file-name invocation-name
invocation-directory))
,finish-func
(expand-file-name invocation-name
invocation-directory))
,finish-func
- "-Q" "-l" ,(funcall (symbol-function 'find-library-name)
- "async")
+ "-Q" "-l" ,(symbol-file 'async-batch-invoke 'defun)
"-batch" "-f" "async-batch-invoke"
(if async-send-over-pipe
"<none>"
"-batch" "-f" "async-batch-invoke"
(if async-send-over-pipe
"<none>"