summaryrefslogtreecommitdiff
path: root/mail.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-06-18 00:17:10 +0800
committerJSDurand <mmemmew@gmail.com>2023-06-18 00:17:10 +0800
commitce5dc4f9a84efc73fccce6d40c494e1deb4baa69 (patch)
treed18c4f26cfa2cc912a05c7c398f4e0dc3057cffd /mail.el
parentb8e849ed238573fc0943efdf394cb8fb55164ce8 (diff)
mail: update gmail as well
* mail.el (durand-mail-update-command): Also update the gmail account. (durand-mail-update): Remove an outdated hello string.
Diffstat (limited to 'mail.el')
-rw-r--r--mail.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail.el b/mail.el
index 57d680f..6493ce3 100644
--- a/mail.el
+++ b/mail.el
@@ -281,7 +281,9 @@ PROCESS is finished."
(quit-window nil (get-buffer-window buffer))))))))
(defvar durand-mail-update-command
- (list "mbsync" "mymail-inbox" "mymail-sent")
+ (list "mbsync"
+ "mymail-inbox" "mymail-sent"
+ "gmail-inbox" "gmail-sent")
"Command to update mails.")
(defvar durand-mail-update-buffer "*mail*"
@@ -305,7 +307,6 @@ If FOREGROUND-P is `0', do not fetch mails, but just run
(cond
((and (numberp foreground-p)
(= foreground-p 0))
- (message "hi")
(run-hooks 'durand-mail-update-hook))
((make-process
:name "durand-mail-update"