Increase `max-specpdl-size' when decoding messages

Some messages (e.g. Outlook automatic replies) need a greater value
than the default one of `max-specpdl-size' to be displayed properly.
This commit is contained in:
Christophe Troestler
2019-02-02 15:31:41 +01:00
parent 156c421113
commit d9066d869a
2 changed files with 7 additions and 1 deletions

View File

@ -371,7 +371,8 @@ article-mode."
(article-de-base64-unreadable)
(article-de-quoted-unreadable)
(run-hooks 'gnus-article-decode-hook)
(gnus-article-prepare-display)
(let ((max-specpdl-size mu4e-view-max-specpdl-size))
(gnus-article-prepare-display))
(mu4e-view-mode)
(setq mu4e~view-msg msg)
(setq gnus-article-decoded-p gnus-article-decode-hook)