summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-08-21 20:32:32 +0300
committerThanos Apollo <[email protected]>2024-08-21 20:32:32 +0300
commit5d153e6b5639222ff67c8138ce3a8e97b3f9da6e (patch)
tree52822d766723e5ca83d6e3a5fd4eb221307236d7 /.config/emacs
parentafa39412df6c7d03d070ab6b123a23aaec1ae7f0 (diff)
emacs: Autosign messages/emails.
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 551aa24..00b6b30 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -1105,7 +1105,10 @@ By default, returns all jabber related buffers format."
smtpmail-smtp-service 465
smtpmail-stream-type 'ssl
message-send-mail-function 'smtpmail-send-it
- message-signature "Thanos Apollo\n https://thanosapollo.org")
+ message-signature "Thanos Apollo\nhttps://thanosapollo.org")
+
+;; autosign messages
+(add-hook 'message-send-hook 'mml-secure-message-sign-pgpmime)
(use-package yasnippet
:ensure nil