mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Make +wakatime-init interactive
Sometimes it doesn't prompt to decrypt gpg, etc etc. Regardless, I think this should be interactive so it's easily re-initialized
This commit is contained in:
@ -7,6 +7,7 @@
|
|||||||
(defun +wakatime-init ()
|
(defun +wakatime-init ()
|
||||||
"Initialize wakatime (if `wakatime-api-key' is set, otherwise no-op with a
|
"Initialize wakatime (if `wakatime-api-key' is set, otherwise no-op with a
|
||||||
warning)."
|
warning)."
|
||||||
|
(interactive)
|
||||||
(if (boundp 'wakatime-api-key)
|
(if (boundp 'wakatime-api-key)
|
||||||
(global-wakatime-mode +1)
|
(global-wakatime-mode +1)
|
||||||
(message "No `wakatime-api-key' set! wakaktime-mode will stay disabled."))
|
(message "No `wakatime-api-key' set! wakaktime-mode will stay disabled."))
|
||||||
|
Reference in New Issue
Block a user