~pkal/autocrypt

e827b91afa5ffc88bc0c6142ff423b5ef93874e3 — Philip Kaludercic 1 year, 3 months ago 5fc15d6
Bind 'gnus-inhibit-mime-unbuttonizing' in 'autocrypt-gnus--get-part'

This prevents Gnus from inserting additional buttons when calling
'get-part'.
1 files changed, 2 insertions(+), 1 deletions(-)

M autocrypt-gnus.el
M autocrypt-gnus.el => autocrypt-gnus.el +2 -1
@@ 46,7 46,8 @@
(defun autocrypt-gnus--get-part (index)
  "Return the INDEX'th part of the message as a string."
  (save-window-excursion
    (let ((content nil))
    (let ((gnus-inhibit-mime-unbuttonizing t)
          (content nil))
      (condition-case nil
          (gnus-article-part-wrapper
           (1+ index)