Commit 061184b8 authored by Reuben Thomas's avatar Reuben Thomas

Add interpreter-mode-alist support for various JavaScript interpreters.

* progmodes/js.el: here.
parent 2e4c2fe2
2014-09-17 Reuben Thomas <rrt@sc3d.org>
* progmodes/js.el: Add interpreter-mode-alist support for various
JavaScript interpreters.
2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
Don't assume 'grep' supports GREP_OPTIONS.
......
......@@ -3479,6 +3479,10 @@ If one hasn't been set, or if it's stale, prompt for a new one."
'(when (fboundp 'folding-add-to-marks-list)
(folding-add-to-marks-list 'js-mode "// {{{" "// }}}" )))
;;;###autoload
(dolist (name (list "node" "nodejs" "gjs" "rhino"))
(add-to-list 'interpreter-mode-alist (cons (purecopy name) 'js-mode)))
(provide 'js)
;; js.el ends here
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment