aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGemini Lasswell2017-04-25 07:42:01 -0700
committerGemini Lasswell2017-09-16 07:36:18 -0700
commitdee96f4a170be134fafd2d11f264952b7e030303 (patch)
tree17cea88ca631c97d0dbf2e3c24c0a0e7e1b6a3f4
parent12e864eb30df410906b5fb5d47f0342be7073527 (diff)
downloademacs-dee96f4a170be134fafd2d11f264952b7e030303.tar.gz
emacs-dee96f4a170be134fafd2d11f264952b7e030303.zip
* lisp/emacs-lisp/cl-macs.el (cl-letf): Fix Edebug spec (bug#24765)
-rw-r--r--lisp/emacs-lisp/cl-macs.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index d90e70d3d8b..32ba0ac3091 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -2438,7 +2438,9 @@ As a special case, if `(PLACE)' is used instead of `(PLACE VALUE)',
2438the PLACE is not modified before executing BODY. 2438the PLACE is not modified before executing BODY.
2439 2439
2440\(fn ((PLACE VALUE) ...) BODY...)" 2440\(fn ((PLACE VALUE) ...) BODY...)"
2441 (declare (indent 1) (debug ((&rest (gate gv-place &optional form)) body))) 2441 (declare (indent 1) (debug ((&rest [&or (symbolp form)
2442 (gate gv-place &optional form)])
2443 body)))
2442 (if (and (not (cdr bindings)) (cdar bindings) (symbolp (caar bindings))) 2444 (if (and (not (cdr bindings)) (cdar bindings) (symbolp (caar bindings)))
2443 `(let ,bindings ,@body) 2445 `(let ,bindings ,@body)
2444 (cl--letf bindings () () body))) 2446 (cl--letf bindings () () body)))