[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15587: [PATCH] Edebug `destructuring-bind' dotted spec

From: Stefan Monnier
Subject: bug#15587: [PATCH] Edebug `destructuring-bind' dotted spec
Date: Sat, 12 Oct 2013 15:12:27 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Currently it's not possible to edebug
> (defun foo (z)
>   (destructuring-bind (x . y) z (+ x y)))

Hmm... indeed.

> I attach a small patch to fix this.


> -           (debug (&define cl-macro-list def-form cl-declarations def-body)))
> +           (debug (&define [&or cl-macro-list (sexp . sexp)] def-form 
> cl-declarations def-body)))

But the same problem applies to cl-defmacro.  I.e. the fix should be in
`cl-macro-list', I think.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]