[gnus git] branch master updated: m0-5-173-gf7933b8 =1= gmm-utils.el (gmm-labels): Dox fix
Katsumi Yamaoka <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via f7933b81dc84473092efb99ad1277f0087af388e (commit)
from 1dd17bf9b604184bffb73cceb9e3892b323efd52 (commit)
- Log -----------------------------------------------------------------
commit f7933b81dc84473092efb99ad1277f0087af388e
Author: Katsumi Yamaoka <[email protected]>
Date: Tue Dec 4 23:33:12 2012 +0000
gmm-utils.el (gmm-labels): Dox fix
diff --git a/lisp/gmm-utils.el b/lisp/gmm-utils.el
index 9be6c66..7d6684c 100644
--- a/lisp/gmm-utils.el
+++ b/lisp/gmm-utils.el
@@ -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))
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/gmm-utils.el | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project