summaryrefslogtreecommitdiff
path: root/lisp/gnus
diff options
context:
space:
mode:
authorKatsumi Yamaoka <yamaoka@jpl.org>2012-12-05 00:18:23 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2012-12-05 00:18:23 +0000
commitf2484dffa2bb96d245839eeae94153cf70209d42 (patch)
treeea4d93bfb8690ba2ff81c27c15e89b9bb7838cc3 /lisp/gnus
parent119191326014fa1aee3d75f83efaabcc819d576a (diff)
downloademacs-f2484dffa2bb96d245839eeae94153cf70209d42.tar.gz
gmm-utils.el (gmm-labels): Doc fix
Diffstat (limited to 'lisp/gnus')
-rw-r--r--lisp/gnus/gmm-utils.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/gnus/gmm-utils.el b/lisp/gnus/gmm-utils.el
index 3357ee42239..6a64dcff11b 100644
--- a/lisp/gnus/gmm-utils.el
+++ b/lisp/gnus/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))