]> git.notmuchmail.org Git - notmuch/commit
emacs: Work around gnus-inhibit-images bug in mm-shr
authorAustin Clements <amdragon@MIT.EDU>
Sat, 29 Sep 2012 18:03:43 +0000 (14:03 -0400)
committerDavid Bremner <bremner@debian.org>
Sun, 30 Sep 2012 14:40:31 +0000 (11:40 -0300)
commitf227d63b273613e8d0882fe443d66c295e4bf444
tree68e40dbfad7146be293d93f8461b65258bfef48e
parent54005b46256162b8f96fefbd70bf159698e24aad
emacs: Work around gnus-inhibit-images bug in mm-shr

Emacs 24's mm-shr HTML email renderer fails to load gnus-art before
referencing gnus-inhibit-images, resulting in a void-variable error
when notmuch attempts to render an HTML email with inline images.
This works around this bug by advising mm-shr to load gnus-art.

mm-shr is the only function outside of gnus-art itself that references
gnus-inhibit-images, so this workaround should be correct.  If this
ever changes, hopefully they will have fixed this bug upstream first.

This fixes the "Rendering HTML mail with images" test for Emacs 24.
emacs/notmuch-lib.el