diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-02-15 23:22:09 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-02-15 23:22:09 -0500 |
commit | a0b35e2f80df98a3789286af8f68e85fddf368db (patch) | |
tree | 92827e0ca68ee0bbf6fe51a645cef94859975089 /lisp/emacs-lisp/backtrace.el | |
parent | 83d9fbe3bb8ffdf9e4719842e2510a8dbde86f78 (diff) | |
download | emacs-a0b35e2f80df98a3789286af8f68e85fddf368db.tar.gz emacs-a0b35e2f80df98a3789286af8f68e85fddf368db.tar.bz2 emacs-a0b35e2f80df98a3789286af8f68e85fddf368db.zip |
* lisp/emacs-lisp/bindat.el: Clarify when field labels are optional
The fixes the doc and the Edebug spec, as well as a subtle issue in
the code where a field whose name is (eval 'fill) was mistakenly
considered as an anonymous field of type `fill`.
(bindat--unpack-item, bindat--unpack-group, bindat--length-group)
(bindat--pack-item, bindat--pack-group): Use dotimes, dolist, and pcase.
(bindat--item-aux): New edebug elem.
(bindat-item): Use it to fix the handling of optional fields.
(bindat-format-vector): Use `mapconcat`.
Diffstat (limited to 'lisp/emacs-lisp/backtrace.el')
0 files changed, 0 insertions, 0 deletions