gmm-utils.el (gmm-labels): Dox fix
authorKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 4 Dec 2012 23:33:12 +0000 (23:33 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 4 Dec 2012 23:33:12 +0000 (23:33 +0000)
lisp/gmm-utils.el

index 9be6c66..7d6684c 100644 (file)
@@ -437,8 +437,10 @@ coding-system."
 
 (defmacro gmm-labels (bindings &rest body)
   "Make temporary function bindings.
-The lexical scoping is handled via `lexical-let' rather than relying
-on `lexical-binding'.
+The bindings can be recursive and the scoping is lexical, but capturing
+them in closures will only work if `lexical-binding' is in use.  But in
+Emacs 24.2 and older, the lexical scoping is handled via `lexical-let'
+rather than relying on `lexical-binding'.
 
 \(fn ((FUNC ARGLIST BODY...) ...) FORM...)"
   `(,(progn (require 'cl) (if (fboundp 'cl-labels) 'cl-labels 'labels))