emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r111100: gmm-utils.el (gmm-labels): D


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111100: gmm-utils.el (gmm-labels): Doc fix
Date: Wed, 05 Dec 2012 00:18:23 +0000
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111100
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Wed 2012-12-05 00:18:23 +0000
message:
  gmm-utils.el (gmm-labels): Doc fix
modified:
  lisp/gnus/gmm-utils.el
=== modified file 'lisp/gnus/gmm-utils.el'
--- a/lisp/gnus/gmm-utils.el    2012-12-05 00:13:56 +0000
+++ b/lisp/gnus/gmm-utils.el    2012-12-05 00:18:23 +0000
@@ -420,8 +420,10 @@
 ;; `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))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]