Merge pull request #31 from rjww/v2
Replace reference to doom-ml--env-command: fix #30
This commit is contained in:
commit
59d2e71e04
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ active."
|
||||||
(defun +doom-modeline|update-env ()
|
(defun +doom-modeline|update-env ()
|
||||||
(when +doom-modeline-env-command
|
(when +doom-modeline-env-command
|
||||||
(let* ((default-directory (doom-project-root))
|
(let* ((default-directory (doom-project-root))
|
||||||
(s (shell-command-to-string doom-ml--env-command)))
|
(s (shell-command-to-string +doom-modeline-env-command)))
|
||||||
(setq +doom-modeline-env-version (if (string-match "[ \t\n\r]+\\'" s)
|
(setq +doom-modeline-env-version (if (string-match "[ \t\n\r]+\\'" s)
|
||||||
(replace-match "" t t s)
|
(replace-match "" t t s)
|
||||||
s)))))
|
s)))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue