Change wakatime executable path to be dynamic

It now uses `executable-find` instead of a hardcoded path.
This commit is contained in:
Gergely Polonkai 2017-04-12 00:12:58 +02:00
parent 334fef4f42
commit b3c87b5d9a
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@
(use-package wakatime-mode
:ensure t
:init
(setq-default wakatime-cli-path "/usr/bin/wakatime")
(setq-default wakatime-cli-path (executable-find "wakatime"))
:config
(global-wakatime-mode t))