mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Mu4e: make "gmail in email adr" condition stricter
This commit is contained in:
@ -366,7 +366,7 @@ Must be set before org-msg is loaded to take effect.")
|
|||||||
|
|
||||||
(defun +mu4e-msg-gmail-p (msg)
|
(defun +mu4e-msg-gmail-p (msg)
|
||||||
(or
|
(or
|
||||||
(string-match-p "gmail"
|
(string-match-p "@gmail.com"
|
||||||
(cond
|
(cond
|
||||||
((member (mu4e-message-field msg :to)
|
((member (mu4e-message-field msg :to)
|
||||||
(plist-get mu4e~server-props :personal-addresses))
|
(plist-get mu4e~server-props :personal-addresses))
|
||||||
|
Reference in New Issue
Block a user