Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #3 from hujinpu/master

add some tips
  • Loading branch information...
commit 54e4fbd338608bd3f18673fae5409c963dbba7a3 2 parents 77f08cc + c4f72f3
@daleharvey authored
Showing with 16 additions and 1 deletion.
  1. +16 −1 README.markdown
View
17 README.markdown
@@ -34,7 +34,13 @@ Usage
Add the configuration to your .emacs config file:
- $jshint-emacs-path >> ~/.emacs
+ $jshint-emacs-path >> ~/.emacs // or
+ $npm explore jshint-mode
+ Exploring /Users/yourname/node_modules/jshint-mode
+ Type 'exit' or ^D when finished
+
+ bash-3.2$ exit
+
or if you downloaded manually:
@@ -43,6 +49,15 @@ or if you downloaded manually:
(add-hook 'javascript-mode-hook
(lambda () (flymake-mode t)))
+**Becareful**: If you emacs can't find node program, maybe you should add some config to .emacs like this:
+
+ (setenv "PATH" (concat "/usr/local/bin:" (getenv "PATH")))
+ (setq exec-path
+ '(
+ "/usr/local/bin"
+ "/usr/bin"
+ ))
+
You can use M-x flymake-mode to turn flymake of and on, if you want to turn it on be fault, add the following to your .emacs
;; Turns on flymake for all files which have a flymake mode
Please sign in to comment.
Something went wrong with that request. Please try again.