From 65ce8c999a001071ca452e1ccf65f5b4ca8e8062 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 6 Mar 2018 13:34:36 +0100 Subject: Emacs: run npm version as a normal shell command --- emacs/.emacs.d/main.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs/.emacs.d') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index e749949..b6fe978 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") -- cgit 1.4.1