From ce5dc4f9a84efc73fccce6d40c494e1deb4baa69 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Sun, 18 Jun 2023 00:17:10 +0800 Subject: mail: update gmail as well * mail.el (durand-mail-update-command): Also update the gmail account. (durand-mail-update): Remove an outdated hello string. --- mail.el | 5 +++-- 1 file 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" -- cgit v1.2.3-18-g5258