[gnus git] branch master updated: m0-5-175-g7ff6341 =1= gmm-utils.el (gmm-labels): Doc fix
Katsumi Yamaoka <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 7ff634144544b4cd94d3b5696ef76bcb155b2361 (commit)
from bba4577b112f251a6a907ac107cd38b3e2fa0c7c (commit)
- Log -----------------------------------------------------------------
commit 7ff634144544b4cd94d3b5696ef76bcb155b2361
Author: Katsumi Yamaoka <[email protected]>
Date: Wed Dec 5 00:18:41 2012 +0000
gmm-utils.el (gmm-labels): Doc fix
diff --git a/lisp/gmm-utils.el b/lisp/gmm-utils.el
index 3357ee4..6a64dcf 100644
--- a/lisp/gmm-utils.el
+++ b/lisp/gmm-utils.el
@@ -420,8 +420,10 @@ coding-system."
;; `labels' got obsolete since Emacs 24.3.
(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