Allow fetching github notifications background.

This commit is contained in:
Vincent Zhang 2020-03-06 19:34:39 +08:00
parent 53bf59d50c
commit 5bffef2568

View file

@ -1825,9 +1825,6 @@ Example:
(defun doom-modeline--github-fetch-notifications ()
"Fetch GitHub notifications."
(when (and doom-modeline-github
;; Only starting the process When the window is active, or the
;; mode-line will be activated while the frame is unfocused.
(doom-modeline--active)
(require 'async nil t))
(async-start
`(lambda ()