Commits

Anonymous committed 0a9725e

Use js2-mode by default instead of outdated javascript mode.

  • Participants
  • Parent commits 6c8e785

Comments (0)

Files changed (1)

File rc/javascript.el

 (autoload 'js2-mode "js2" nil t)
+
+(setq auto-mode-alist
+      (remove '("\\.js\\'" . javascript-mode)
+              auto-mode-alist))
 (add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
 
 (setq js2-mirror-mode nil)