From aabcf54a8b47b1479222b1e32e0ef0335fe8b0ae Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Mon, 5 Dec 2011 23:52:09 +0330 Subject: [PATCH] nodejs-mode bug fixed --- src/plugins/nodejs.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/nodejs.el b/src/plugins/nodejs.el index dd4bc68..53b187f 100644 --- a/src/plugins/nodejs.el +++ b/src/plugins/nodejs.el @@ -113,7 +113,7 @@ (add-hook 'after-change-functions 'buffer-change-colorizing t t) (setq fullcommand *node*) (message fullcommand) - (setq commandp (apply 'make-comint-in-buffer *node* newcommand-buffer *node* nil (list fullcommand command))) + (setq commandp (apply 'make-comint-in-buffer *node* newcommand-buffer *node* nil (list command))) ) ) @@ -129,7 +129,7 @@ (add-hook 'after-change-functions 'buffer-change-colorizing t t) (setq fullcommand "npm") (message fullcommand) - (setq commandp (apply 'make-comint-in-buffer "npm" newcommand-buffer "npm" nil (list fullcommand "install" package))) + (setq commandp (apply 'make-comint-in-buffer "npm" newcommand-buffer "npm" nil (list "install" package))) ) )