branch: externals/autocrypt
commit e827b91afa5ffc88bc0c6142ff423b5ef93874e3
Author: Philip Kaludercic <[email protected]>
Commit: Philip Kaludercic <[email protected]>
Bind 'gnus-inhibit-mime-unbuttonizing' in 'autocrypt-gnus--get-part'
This prevents Gnus from inserting additional buttons when calling
'get-part'.
---
autocrypt-gnus.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/autocrypt-gnus.el b/autocrypt-gnus.el
index c74b621cc5..bc7909107d 100644
--- a/autocrypt-gnus.el
+++ b/autocrypt-gnus.el
@@ -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)