* lisp/emacs-lisp/subr-x.el (if-let*): Fix Edebug spec (Bug#24748)

This commit is contained in:
Gemini Lasswell 2017-02-04 16:16:11 -08:00 committed by Mark Oteiza
parent 071680b734
commit 5401820672

View file

@ -126,7 +126,8 @@ In the special case you only want to bind a single value,
VARLIST can just be a plain tuple.
\n(fn VARLIST THEN ELSE...)"
(declare (indent 2)
(debug ([&or (&rest (symbolp form)) (symbolp form)] form body)))
(debug ([&or (&rest [&or symbolp (symbolp form)]) (symbolp form)]
form body)))
(when (and (<= (length bindings) 2)
(not (listp (car bindings))))
;; Adjust the single binding case