mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
github: add hook name to be injected into async process
This commit is contained in:
parent
3a96162207
commit
d8efcd8e3b
1 changed files with 1 additions and 1 deletions
|
@ -1935,7 +1935,7 @@ Example:
|
||||||
(require 'async nil t))
|
(require 'async nil t))
|
||||||
(async-start
|
(async-start
|
||||||
`(lambda ()
|
`(lambda ()
|
||||||
,(async-inject-variables "\\`\\(load-path\\|auth-sources\\)\\'")
|
,(async-inject-variables "\\`\\(load-path\\|auth-sources\\|doom-modeline-before-github-fetch-notification-hook\\)\\'")
|
||||||
(run-hooks 'doom-modeline-before-github-fetch-notification-hook)
|
(run-hooks 'doom-modeline-before-github-fetch-notification-hook)
|
||||||
(require 'ghub nil t)
|
(require 'ghub nil t)
|
||||||
(when (fboundp 'ghub-get)
|
(when (fboundp 'ghub-get)
|
||||||
|
|
Loading…
Reference in a new issue