From 40a9b1c8f2ea9b1a1276fe0c25b3a5270d534bd0 Mon Sep 17 00:00:00 2001
From: Amin Bandali <bandali@gnu.org>
Date: Sat, 24 Feb 2024 13:02:17 -0500
Subject: Customize a few mml settings

---
 .emacs.d/lisp/bandali-gnus.el | 10 ++++++++++
 1 file changed, 10 insertions(+)

(limited to '.emacs.d/lisp/bandali-gnus.el')

diff --git a/.emacs.d/lisp/bandali-gnus.el b/.emacs.d/lisp/bandali-gnus.el
index 7062941..0c22e4b 100644
--- a/.emacs.d/lisp/bandali-gnus.el
+++ b/.emacs.d/lisp/bandali-gnus.el
@@ -403,6 +403,16 @@
   (when (version< emacs-version "27")
     (setq mm-uu-diff-groups-regexp ".")))
 
+(with-eval-after-load 'mml
+  (setq
+   mml-attach-file-at-the-end t
+   mml-content-disposition-alist
+   '((text
+      (markdown . "attachment")
+      (rtf . "attachment")
+      (t . "inline"))
+     (t. "attachment"))))
+
 (with-eval-after-load 'mml-sec
   (setq mml-secure-openpgp-encrypt-to-self t
         mml-secure-openpgp-sign-with-sender t))
-- 
cgit v1.2.3-83-g751a