X-Git-Url: http://cgit.sxemacs.org/?p=gnus;a=blobdiff_plain;f=lisp%2Fgmm-utils.el;fp=lisp%2Fgmm-utils.el;h=7d6684ca6c120b57c47eb172a865026d51451b26;hp=9be6c66b63a474008b0f0a6f8a7f6523749f484c;hb=f7933b81dc84473092efb99ad1277f0087af388e;hpb=1dd17bf9b604184bffb73cceb9e3892b323efd52 diff --git a/lisp/gmm-utils.el b/lisp/gmm-utils.el index 9be6c66b6..7d6684ca6 100644 --- a/lisp/gmm-utils.el +++ b/lisp/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))