mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Add doc comment to doom-ml|env-update
This commit is contained in:
@ -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)))
|
||||||
|
Reference in New Issue
Block a user