[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r111098: gmm-utils.el (gmm-labels): D
From: |
Katsumi Yamaoka |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r111098: gmm-utils.el (gmm-labels): Dox fix |
Date: |
Tue, 04 Dec 2012 23:33:24 +0000 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 111098
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Tue 2012-12-04 23:33:24 +0000
message:
gmm-utils.el (gmm-labels): Dox fix
modified:
lisp/gnus/gmm-utils.el
=== modified file 'lisp/gnus/gmm-utils.el'
--- a/lisp/gnus/gmm-utils.el 2012-12-04 23:24:24 +0000
+++ b/lisp/gnus/gmm-utils.el 2012-12-04 23:33:24 +0000
@@ -437,8 +437,10 @@
(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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r111098: gmm-utils.el (gmm-labels): Dox fix,
Katsumi Yamaoka <=