The fourth commit tries to address the issue raised in id:87k0sxa6c3.fsf@fifthhorseman.net. The output of "notmuch show --format=sexp --format-version=4" may contain `:content-type' entries with `nil' as the value, when it fails to detect the correct value. Account for that in a few places where we would otherwise risk a type error. The other three commits cleanup the code I had to look at to do the above, because I just can't help myself. This does not apply without first applying id:20201214162401.19569-1-jonas@bernoul.li. Jonas Jonas Bernoulli (4): emacs: notmuch-mua-add-more-hidden-headers: use local binding emacs: notmuch-show--register-cids: fix names of bindings emacs: notmuch-show--get-cid-content: cosmetics emacs: avoid type errors due to nil as content-type emacs/notmuch-lib.el | 23 ++++++++++++---------- emacs/notmuch-mua.el | 7 +++---- emacs/notmuch-show.el | 46 +++++++++++++++++++++---------------------- 3 files changed, 39 insertions(+), 37 deletions(-) -- 2.30.0 _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org