Upstream changes to wakatime
This commit is contained in:
parent
b9a179eeed
commit
000dee7abf
1 changed files with 5 additions and 2 deletions
|
@ -1,10 +1,13 @@
|
|||
;;; tools/wakatime/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(add-hook 'doom-after-switch-buffer-hook #'+wakatime-init)
|
||||
(add-hook 'doom-after-switch-buffer-hook #'+wakatime|autostart)
|
||||
|
||||
;;;###autoload
|
||||
(defun +wakatime-init ()
|
||||
(defalias '+wakatime/start '+wakatime|autostart)
|
||||
|
||||
;;;###autoload
|
||||
(defun +wakatime|autostart ()
|
||||
"Initialize wakatime (if `wakatime-api-key' is set, otherwise no-op with a
|
||||
warning)."
|
||||
(interactive)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue