Add doc comment to doom-ml|env-update

This commit is contained in:
Henrik Lissner 2016-09-28 13:54:36 +02:00
parent b6ed1cf6c5
commit 8ccc9f1224

View file

@ -85,6 +85,8 @@ active.")
"Hook that runs whenever the environment version changes (e.g. rbenv/pyenv)") "Hook that runs whenever the environment version changes (e.g. rbenv/pyenv)")
(defun doom-ml|env-update () (defun doom-ml|env-update ()
"Update (py|rb)env version string in `doom-ml--env-version', generated with
`doom-ml--env-command'."
(when doom-ml--env-command (when doom-ml--env-command
(let ((default-directory (projectile-project-root))) (let ((default-directory (projectile-project-root)))
(let ((s (shell-command-to-string doom-ml--env-command))) (let ((s (shell-command-to-string doom-ml--env-command)))