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

2017-09-20 Thread David Bremner
Tomi Ollila 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

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

2017-09-20 Thread David Edmondson
On Wednesday, 2017-09-20 at 08:25:44 +0300, Tomi Ollila wrote: > I felt mentioning this (require 'enriched) important enough to be > stored in the blockchain of notmuch commit history -- knowing such > a subtle behaviour may prevent related bugs somewhere, sometime... Could you add a comment in

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

2017-09-19 Thread Tomi Ollila
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