summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2024-02-24 13:02:17 -0500
committerAmin Bandali <bandali@gnu.org>2024-02-24 13:02:17 -0500
commit40a9b1c8f2ea9b1a1276fe0c25b3a5270d534bd0 (patch)
tree4134ce56924e4df05b39e97e6052a9c0d10ff975
parent60df8b6d5b80318718429339eb56ed34c0330384 (diff)
downloadconfigs-40a9b1c8f2ea9b1a1276fe0c25b3a5270d534bd0.tar.gz
configs-40a9b1c8f2ea9b1a1276fe0c25b3a5270d534bd0.tar.xz
configs-40a9b1c8f2ea9b1a1276fe0c25b3a5270d534bd0.zip
Customize a few mml settings
-rw-r--r--.emacs.d/lisp/bandali-gnus.el10
1 files changed, 10 insertions, 0 deletions
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))