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

This commit is contained in:
Gemini Lasswell 2017-04-25 07:42:01 -07:00
parent 12e864eb30
commit dee96f4a17

View file

@ -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)))