diff --git a/modules/module-lisp.el b/modules/module-lisp.el index 9df859f9c..9c7add77c 100644 --- a/modules/module-lisp.el +++ b/modules/module-lisp.el @@ -44,7 +44,7 @@ "(\\(def-" (regexp-opt '("electric" "project-type" "company-backend" "builder" "repl" "textobj" "tmp-excmd" "rotate" - "repeat" "yas-mode" "env-command" "docset")) + "repeat" "yas-mode" "version-cmd" "docset")) "!\\)") (1 font-lock-keyword-face append)) (,(concat diff --git a/modules/module-python.el b/modules/module-python.el index 9b3025bf2..ced553b05 100644 --- a/modules/module-python.el +++ b/modules/module-python.el @@ -22,7 +22,7 @@ :config (def-company-backend! python-mode (anaconda)) (def-docset! python-mode "py,py3,python") - (def-env-command! python-mode "python --version 2>&1 | cut -d' ' -f2") + (def-version-cmd! python-mode "python --version 2>&1 | cut -d' ' -f2") (def-repl! python-mode narf/inf-python) (define-key python-mode-map (kbd "DEL") nil)) ; interferes with smartparens diff --git a/modules/module-ruby.el b/modules/module-ruby.el index 85b0ae98e..ef6f5c5b0 100644 --- a/modules/module-ruby.el +++ b/modules/module-ruby.el @@ -9,7 +9,7 @@ (def-builder! ruby-mode "rake %s" "Rakefile") (def-company-backend! ruby-mode (dabbrev-code)) (def-docset! ruby-mode "rb,ruby,rubygem") - (def-env-command! ruby-mode "ruby --version | cut -d' ' -f2") + (def-version-cmd! ruby-mode "ruby --version | cut -d' ' -f2") (def-repl! ruby-mode inf-ruby) (def-electric! ruby-mode :words ("else" "end" "elseif"))