diff options
author | Alan Pearce | 2018-03-06 13:34:36 +0100 |
---|---|---|
committer | Alan Pearce | 2018-03-06 13:34:36 +0100 |
commit | 65ce8c999a001071ca452e1ccf65f5b4ca8e8062 (patch) | |
tree | 68ba8bb9e7626893b85e7ac3074a3f5223d4b0ef /emacs/.emacs.d | |
parent | 3e53beeb422547fd76153e6bec39bc2095fcaae0 (diff) | |
download | nixfiles-65ce8c999a001071ca452e1ccf65f5b4ca8e8062.tar.lz nixfiles-65ce8c999a001071ca452e1ccf65f5b4ca8e8062.tar.zst nixfiles-65ce8c999a001071ca452e1ccf65f5b4ca8e8062.zip |
Emacs: run npm version as a normal shell command
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r-- | emacs/.emacs.d/main.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index e7499494..b6fe9781 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -539,7 +539,7 @@ (interactive (list (projectile-completing-read "version: " '("major" "minor" "patch" "premajor" "preminor" "prepatch" "prerelease" "from-git")))) (projectile-with-default-dir (projectile-project-root) - (cmd-to-echo "npm" (concat "version " type)))) + (message (shell-command-to-string (concat "npm" " version " type))))) (defun ap/open-project (&optional arg) (interactive "P") |