Skip to content

Commit

Permalink
Replace espresso-mode by js-mode, see eschulte#60
Browse files Browse the repository at this point in the history
  • Loading branch information
aruetten committed Jul 12, 2015
1 parent c8db0f6 commit adee5e2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions starter-kit-js.org
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ Java-script Helpers
#+end_src

#+begin_src emacs-lisp
(font-lock-add-keywords 'espresso-mode
(font-lock-add-keywords 'js-mode
'(("\\<\\(FIX\\|TODO\\|FIXME\\|HACK\\|REFACTOR\\):"
1 font-lock-warning-face t)))
#+end_src

#+begin_src emacs-lisp
(autoload 'espresso-mode "espresso" "Start espresso-mode" t)
(add-to-list 'auto-mode-alist '("\\.js$" . espresso-mode))
(add-to-list 'auto-mode-alist '("\\.json$" . espresso-mode))
(add-hook 'espresso-mode-hook 'moz-minor-mode)
(add-hook 'espresso-mode-hook 'turn-on-paredit)
(add-hook 'espresso-mode-hook 'run-starter-kit-coding-hook)
;; (add-hook 'espresso-mode-hook 'idle-highlight)
(setq espresso-indent-level 2)
(autoload 'js-mode "js" "Start js-mode" t)
(add-to-list 'auto-mode-alist '("\\.js$" . js-mode))
(add-to-list 'auto-mode-alist '("\\.json$" . js-mode))
(add-hook 'js-mode-hook 'moz-minor-mode)
(add-hook 'js-mode-hook 'turn-on-paredit)
(add-hook 'js-mode-hook 'run-starter-kit-coding-hook)
;; (add-hook 'js-mode-hook 'idle-highlight)
(setq js-indent-level 2)
#+end_src

#+begin_src emacs-lisp
Expand Down

0 comments on commit adee5e2

Please sign in to comment.