[PATCH v2] emacs: cl-letf enriched-decode-display-prop for text/encriched display

David Bremner david at tethera.net
Wed Sep 20 04:12:21 PDT 2017


Tomi Ollila <tomi.ollila at iki.fi> writes:

> Dynamically bind enriched-decode-display-prop when inserting
> text/enriched part. This complements commit 9b0582383833 for
> emacs versions before 24.4 which do not have advice-add functionality.
>
> Note the (require 'enriched). Without that if 'enriched were not
> already provided, the part processing via mm-display-part would
> eventually load that, providing enriched-decode-display-prop
> overriding our temporary definition (for the first time
> text/enriched part is handled).
> ---

What about a test to show that extending support to older versions of
emacs doesn't cause a regression?

d


More information about the notmuch mailing list