summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatsumi Yamaoka <yamaoka@jpl.org>2019-11-14 02:24:26 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2019-11-14 02:24:26 +0000
commit3ecbfefa7239bd071262db25dfc9c97a01ec9ca1 (patch)
treebd022e15ba82087200eaa051d1d5798db23cc699
parentea73c66423ecb92e8aae4cabacd908168c095c07 (diff)
downloademacs-3ecbfefa7239bd071262db25dfc9c97a01ec9ca1.tar.gz
Don't show Attachment(s) header in html article viewed with browse-url
* lisp/gnus/gnus-art.el (gnus-article-browse-html-article): Bind gnus-mime-display-attachment-buttons-in-header to nil.
-rw-r--r--lisp/gnus/gnus-art.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 922bb99d706..a962566f1ed 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -3035,6 +3035,7 @@ images if any to the browser, and deletes them when exiting the group
(gnus-summary-show-article)
(let ((gnus-visible-headers (or (get 'gnus-visible-headers 'standard-value)
gnus-visible-headers))
+ (gnus-mime-display-attachment-buttons-in-header nil)
;; As we insert a <hr>, there's no need for the body boundary.
(gnus-treat-body-boundary nil))
(gnus-summary-show-article)))