summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/subr-x.el
diff options
context:
space:
mode:
authorGemini Lasswell <gazally@runbox.com>2017-02-04 16:16:11 -0800
committerMark Oteiza <mvoteiza@udel.edu>2017-02-17 18:47:50 -0500
commit5401820672c650f47bf055ebbf3cc590f90cb05a (patch)
treef9fff3038e0de6e665f12e3029cb6b56155c69db /lisp/emacs-lisp/subr-x.el
parent071680b734f54733614e355ce4b89bd2300a632b (diff)
downloademacs-5401820672c650f47bf055ebbf3cc590f90cb05a.tar.gz
* lisp/emacs-lisp/subr-x.el (if-let*): Fix Edebug spec (Bug#24748)
Diffstat (limited to 'lisp/emacs-lisp/subr-x.el')
-rw-r--r--lisp/emacs-lisp/subr-x.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/subr-x.el b/lisp/emacs-lisp/subr-x.el
index f7a846927c0..1d729f94092 100644
--- a/lisp/emacs-lisp/subr-x.el
+++ b/lisp/emacs-lisp/subr-x.el
@@ -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