tools/wakatime: fix typo in hook name
This commit is contained in:
parent
30f1f8ab0c
commit
0f90972ba9
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ warning)."
|
|||
(message "wakatime-mode isn't set up. Run `M-x +wakatime/start' to do so (only necessary once)."))
|
||||
;;
|
||||
(remove-hook 'doom-before-switch-buffer-hook #'+wakatime|autostart)
|
||||
(advice-remove 'after-find-file #'wakatime|autostart))
|
||||
(advice-remove 'after-find-file #'+wakatime|autostart))
|
||||
|
||||
;;;###autoload
|
||||
(defun +wakatime|delayed-autostart (&rest _)
|
||||
|
@ -46,4 +46,4 @@ warning)."
|
|||
open a file."
|
||||
(add-hook 'doom-before-switch-buffer-hook #'+wakatime|autostart)
|
||||
;; this is necessary in case the user opens emacs with file arguments
|
||||
(advice-add 'after-find-file :before #'wakatime|autostart))
|
||||
(advice-add 'after-find-file :before #'+wakatime|autostart))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue