]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 15 May 2012 18:45:27 +0000 (14:45 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 15 May 2012 18:45:27 +0000 (14:45 -0400)
lisp/ChangeLog
lisp/emacs-lisp/pcase.el

index ac2aff0d9c7133037375940742b27d65e5dd52a1..717582a6f8f8f8ecbca1bf46c44b96ce82870c7e 100644 (file)
@@ -1,5 +1,7 @@
 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
+
        * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
        behavior.
        (completion--string-equal-p): New function.
index 0d115cc56f516bd362e7bf28f1f326d97b17998c..28eaa3d3455ee3f05162d80d0a8a8169b975462a 100644 (file)
@@ -113,7 +113,8 @@ like `(,a . ,(pred (< a))) or, with more checks:
   "Like `let*' but where you can use `pcase' patterns for bindings.
 BODY should be an expression, and BINDINGS should be a list of bindings
 of the form (UPAT EXP)."
-  (declare (indent 1) (debug let))
+  (declare (indent 1)
+           (debug ((&rest &or (sexp &optional form) symbolp) body)))
   (cond
    ((null bindings) (if (> (length body) 1) `(progn ,@body) (car body)))
    ((pcase--trivial-upat-p (caar bindings))
@@ -132,7 +133,7 @@ of the form (UPAT EXP)."
   "Like `let' but where you can use `pcase' patterns for bindings.
 BODY should be a list of expressions, and BINDINGS should be a list of bindings
 of the form (UPAT EXP)."
-  (declare (indent 1) (debug let))
+  (declare (indent 1) (debug pcase-let*))
   (if (null (cdr bindings))
       `(pcase-let* ,bindings ,@body)
     (let ((matches '()))