message: Comment that GitHub fix does not work
parent
b1ff0a417c
commit
7f7599c685
|
@ -62,12 +62,12 @@ systematically send encrypted emails when possible."
|
|||
(add-hook 'message-send-hook #'message-sign-encrypt-if-all-keys-trusted)
|
||||
|
||||
|
||||
;; Fix replying to GitHub. TODO: Test!
|
||||
;; Fix replying to GitHub. TODO: Does not work.
|
||||
(defun ambrevar/message-alter-bogus-github-recipients (addrcell)
|
||||
"Discard @reply.github.com mail addresses.
|
||||
ADDRCELL is a cons cell where the car is the mail address and the
|
||||
cdr is the complete address (full name and mail address)."
|
||||
(unless (string-match (rx "@reply.github.com" string-end)
|
||||
(unless (string-match (rx "@noreply.github.com" string-end)
|
||||
(cdr addrcell))
|
||||
addrcell))
|
||||
(setq message-alter-recipients-function 'ambrevar/message-alter-bogus-github-recipients)
|
||||
|
|
Loading…
Reference in New Issue