Commit dee96f4a authored by Gemini Lasswell's avatar Gemini Lasswell
Browse files

* lisp/emacs-lisp/cl-macs.el (cl-letf): Fix Edebug spec (bug#24765)

parent 12e864eb
......@@ -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)])
(if (and (not (cdr bindings)) (cdar bindings) (symbolp (caar bindings)))
`(let ,bindings ,@body)
(cl--letf bindings () () body)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment