diff options
author | Katsumi Yamaoka <yamaoka@jpl.org> | 2012-12-04 23:33:24 +0000 |
---|---|---|
committer | Katsumi Yamaoka <yamaoka@jpl.org> | 2012-12-04 23:33:24 +0000 |
commit | b2b049bc3783e7de267b194489f0840220a7b78c (patch) | |
tree | 7446b6a37f4ea7f2bb216e62ae36e4c120706c98 /lisp/gnus/gmm-utils.el | |
parent | 68c2d59da47ba77a9e31e27550c39cc86beb5b67 (diff) | |
download | emacs-b2b049bc3783e7de267b194489f0840220a7b78c.tar.gz emacs-b2b049bc3783e7de267b194489f0840220a7b78c.tar.bz2 emacs-b2b049bc3783e7de267b194489f0840220a7b78c.zip |
gmm-utils.el (gmm-labels): Dox fix
Diffstat (limited to 'lisp/gnus/gmm-utils.el')
-rw-r--r-- | lisp/gnus/gmm-utils.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/gnus/gmm-utils.el b/lisp/gnus/gmm-utils.el index 9be6c66b63a..7d6684ca6c1 100644 --- a/lisp/gnus/gmm-utils.el +++ b/lisp/gnus/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)) |