]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/bindat.el (bindat-spec): New macro.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 16 Feb 2021 02:25:15 +0000 (21:25 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 16 Feb 2021 02:25:15 +0000 (21:25 -0500)
commit83d9fbe3bb8ffdf9e4719842e2510a8dbde86f78
tree4c306877a64e744a9a6d466d76e0f4cfd28e2ab3
parent2106b12fa751094d1b754b50e6dcad2a19e8f02a
* lisp/emacs-lisp/bindat.el (bindat-spec): New macro.

It's basically an alias for `quote`, but it offers the advantage of
providing Edebug support and opens the possibility of compiling
the bindat spec to ELisp code.

* doc/lispref/processes.texi (Bindat Spec): Document `bindat-spec`.
(Bindat Functions): Tweak a few things to adjust to the state of the code.

* test/lisp/emacs-lisp/bindat-tests.el: Use it.

* test/lisp/emacs-lisp/edebug-tests.el (edebug-tests--read): New function.
(edebug-tests--&rest-behavior): New test.
doc/lispref/processes.texi
etc/NEWS
lisp/emacs-lisp/bindat.el
test/lisp/emacs-lisp/bindat-tests.el
test/lisp/emacs-lisp/edebug-tests.el