mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-02 08:22:22 +00:00
gmm-utils.el (gmm-labels): Doc fix
This commit is contained in:
parent
1191913260
commit
f2484dffa2
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user