projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64b5357
)
emacs: gnus: always sign messages
author
Amin Bandali
<bandali@gnu.org>
Wed, 4 Dec 2019 03:12:36 +0000
(22:12 -0500)
committer
Amin Bandali
<bandali@gnu.org>
Wed, 4 Dec 2019 03:12:36 +0000
(22:12 -0500)
.emacs.d/init.el
patch
|
blob
|
blame
|
history
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
2b84887
..
d824423
100644
(file)
--- a/
.emacs.d/init.el
+++ b/
.emacs.d/init.el
@@
-2507,8
+2507,9
@@
https://csclub.uwaterloo.ca/~abandali")
(address "bandali@csclub.uwaterloo.ca")
(signature b/csc-signature)
(gcc "nnimap+csc:Sent"))))
- ;; :hook (gnus-message-setup . mml-secure-message-sign)
- )
+ :hook (gnus-message-setup . (lambda ()
+ (unless (mml-secure-is-encrypted-p)
+ (mml-secure-message-sign)))))
(use-feature gnus-topic
:hook (gnus-group-mode . gnus-topic-mode)