dotfiles

config files and scripts at HOME.
git clone git://git.ricketyspace.net/dotfiles.git
Log | Files | Refs

commit 9ad190b4c8b4c2277be27237eadb30f84402a1d8
parent 9ab93a5201db274579e1c5dbcf4393742085b4bb
Author: rsiddharth <rsiddharth@ninthfloor.org>
Date:   Sun, 22 May 2016 00:42:35 +0000

.gnus.el: override 'message-make-date.

Diffstat:
.gnus.el | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/.gnus.el b/.gnus.el @@ -76,6 +76,14 @@ (rsd/gnus/set-gpg-key (rsd/gnus/get-msg-header "from"))) +(defun advice/msg-make-date-utc (&optional now) + "Make valid date header with time zone set to UTC." + (let ((system-time-locale "C")) + (format-time-string "%a, %d %b %Y %T %z" now t))) + +(advice-add 'message-make-date :override + #'advice/msg-make-date-utc) + (add-hook 'message-setup-hook 'rsd/gnus/gpg-setup) ;; duh, add the vanity header.