* lisp/emacs-lisp/cl-macs.el (cl-letf): Fix Edebug spec (bug#24765)
This commit is contained in:
parent
12e864eb30
commit
dee96f4a17
1 changed files with 3 additions and 1 deletions
|
@ -2438,7 +2438,9 @@ As a special case, if `(PLACE)' is used instead of `(PLACE VALUE)',
|
|||
the PLACE is not modified before executing BODY.
|
||||
|
||||
\(fn ((PLACE VALUE) ...) BODY...)"
|
||||
(declare (indent 1) (debug ((&rest (gate gv-place &optional form)) body)))
|
||||
(declare (indent 1) (debug ((&rest [&or (symbolp form)
|
||||
(gate gv-place &optional form)])
|
||||
body)))
|
||||
(if (and (not (cdr bindings)) (cdar bindings) (symbolp (caar bindings)))
|
||||
`(let ,bindings ,@body)
|
||||
(cl--letf bindings () () body)))
|
||||
|
|
Loading…
Add table
Reference in a new issue