mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-18 03:40:47 -08:00
gmm-utils.el (gmm-labels): Dox fix
This commit is contained in:
parent
68c2d59da4
commit
b2b049bc37
1 changed files with 4 additions and 2 deletions
|
|
@ -437,8 +437,10 @@ coding-system."
|
||||||
|
|
||||||
(defmacro gmm-labels (bindings &rest body)
|
(defmacro gmm-labels (bindings &rest body)
|
||||||
"Make temporary function bindings.
|
"Make temporary function bindings.
|
||||||
The lexical scoping is handled via `lexical-let' rather than relying
|
The bindings can be recursive and the scoping is lexical, but capturing
|
||||||
on `lexical-binding'.
|
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...)"
|
\(fn ((FUNC ARGLIST BODY...) ...) FORM...)"
|
||||||
`(,(progn (require 'cl) (if (fboundp 'cl-labels) 'cl-labels 'labels))
|
`(,(progn (require 'cl) (if (fboundp 'cl-labels) 'cl-labels 'labels))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue