]> git.eshelyaron.com Git - emacs.git/commit
Support debug declarations in pcase macros
authorJohan Bockgård <bojohan@gnu.org>
Sun, 12 Apr 2015 14:26:52 +0000 (16:26 +0200)
committerJohan Bockgård <bojohan@gnu.org>
Sun, 12 Apr 2015 14:26:52 +0000 (16:26 +0200)
commit2e47de365b4dcec6781f6150cea977fa8d8a94f2
treeb73c7ee6216e1059bfe138ce06157a06857e67db
parent66a53da5f0c15a1e69675e8157fbbc00a364bb80
Support debug declarations in pcase macros

* lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
(pcase-UPAT): Use it.  Remove "`".
(pcase--edebug-match-macro): New function.
(pcase-defmacro): Support debug declarations.

* lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
* lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
* lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>: Add debug declaration.
lisp/emacs-lisp/cl-macs.el
lisp/emacs-lisp/eieio.el
lisp/emacs-lisp/pcase.el