Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change from jshint-mode to flymake-jshint mode

  • Loading branch information...
commit 23412b9f5b40b97e7806175ecc2fc03fe919e604 1 parent 20b7f89
@jmalonzo jmalonzo authored
Showing with 11 additions and 11 deletions.
  1. +10 −10 flymake-jshint.el
  2. +1 −1  jshint-mode-pkg.el
View
20 flymake-jshint.el
@@ -1,4 +1,4 @@
-;;; jshint-mode.el --- JSHint mode for Emacs
+;;; flymake-jshint.el --- JSHint mode for Emacs
;;
;; Version: 20110901
;;
@@ -7,7 +7,7 @@
;; Installation:
;;
;; (add-to-list 'load-path "~/lib/jshint-mode")
-;; (require 'jshint-mode)
+;; (require 'flymake-jshint)
;; (add-hook 'javascript-mode-hook
;; (lambda () (flymake-mode t)))
;;
@@ -19,27 +19,27 @@
(defcustom jshint-mode-mode "jshint"
"Can use either jshint or jslint"
:type 'string
- :group 'jshint-mode)
+ :group 'flymake-jshint)
(defcustom jshint-mode-node-program "node"
"The program name to invoke node.js."
:type 'string
- :group 'jshint-mode)
+ :group 'flymake-jshint)
(defcustom jshint-mode-location (file-name-directory load-file-name)
"The directory jshint-mode.js may be found in."
:type 'string
- :group 'jshint-mode)
+ :group 'flymake-jshint)
(defcustom jshint-mode-port 3003
"The port the jshint-mode server runs on."
:type 'integer
- :group 'jshint-mode)
+ :group 'flymake-jshint)
(defcustom jshint-mode-host "127.0.0.1"
"The host the jshint-mode server runs on."
:type 'string
- :group 'jshint-mode)
+ :group 'flymake-jshint)
(setq jshint-process "jshint-mode-server")
(setq jshint-buffer "*jshint-mode*")
@@ -58,7 +58,7 @@
"--port" (number-to-string jshint-mode-port))
(set-process-query-on-exit-flag (get-process jshint-process) nil)
(message
- (concat "jshint server has started on " jshint-mode-host
+ (concat "jshint server has started on " jshint-mode-host ":"
(number-to-string jshint-mode-port)))
'starting
))
@@ -91,6 +91,6 @@
nil 1 2 3)
flymake-err-line-patterns))
-(provide 'jshint-mode)
+(provide 'flymake-jshint)
-;;; jshint-mode.el ends here
+;;; flymake-jshint.el ends here
View
2  jshint-mode-pkg.el
@@ -1 +1 @@
-(define-package "jshint-mode" "20110901" "Run JSHint within emacs" (quote nil))
+(define-package "flymake-jshint" "20110901" "Run JSHint within emacs" (quote nil))
Please sign in to comment.
Something went wrong with that request. Please try again.