branch: master
commit 374f514ca34200a58db5ef63baf7088da748aef9
Author: Ryan C. Thompson <[email protected]>
Commit: Ryan C. Thompson <[email protected]>

    Complete the docstring for "async--get-function"
---
 async.el |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/async.el b/async.el
index 1527baf..40663da 100644
--- a/async.el
+++ b/async.el
@@ -171,7 +171,11 @@ as follows:
 (defsubst async--get-function (func)
   "Get the function definition of FUNC, whatever it is.
 
-FUNC can be a variable name, "
+FUNC can be a variable name, a function definition, or an
+expression that evaluates to a function.
+
+This exists to get around the fact that closures are not
+self-quoting, so calling `eval' on them results in an error."
   (indirect-function
    (cond
     ;; Quoted form => Extract value without evaluating since `(eval

Reply via email to