aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Verona2012-12-05 00:40:11 +0100
committerJoakim Verona2012-12-05 00:40:11 +0100
commit5cd9c6f1c94955ad27f08409c7f1458e4a587d8b (patch)
tree68d15bb72c423b6cec76c493beef852b580811bc
parent39f9cdbf0556f410a9f27e4836d4630dd83b624b (diff)
parentb2b049bc3783e7de267b194489f0840220a7b78c (diff)
downloademacs-5cd9c6f1c94955ad27f08409c7f1458e4a587d8b.tar.gz
emacs-5cd9c6f1c94955ad27f08409c7f1458e4a587d8b.zip
auto upstream
-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 9be6c66b63a..7d6684ca6c1 100644
--- a/lisp/gnus/gmm-utils.el
+++ b/lisp/gnus/gmm-utils.el
@@ -437,8 +437,10 @@ coding-system."
437 437
438(defmacro gmm-labels (bindings &rest body) 438(defmacro gmm-labels (bindings &rest body)
439 "Make temporary function bindings. 439 "Make temporary function bindings.
440The lexical scoping is handled via `lexical-let' rather than relying 440The bindings can be recursive and the scoping is lexical, but capturing
441on `lexical-binding'. 441them in closures will only work if `lexical-binding' is in use. But in
442Emacs 24.2 and older, the lexical scoping is handled via `lexical-let'
443rather than relying on `lexical-binding'.
442 444
443\(fn ((FUNC ARGLIST BODY...) ...) FORM...)" 445\(fn ((FUNC ARGLIST BODY...) ...) FORM...)"
444 `(,(progn (require 'cl) (if (fboundp 'cl-labels) 'cl-labels 'labels)) 446 `(,(progn (require 'cl) (if (fboundp 'cl-labels) 'cl-labels 'labels))