From adee5e20638d93ff4994b52843c46b2fe14a013c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20R=C3=BCtten?= Date: Sun, 12 Jul 2015 22:54:48 +0200 Subject: [PATCH] Replace espresso-mode by js-mode, see #60 --- starter-kit-js.org | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/starter-kit-js.org b/starter-kit-js.org index 4c691fd1b..4f1ea82fb 100644 --- a/starter-kit-js.org +++ b/starter-kit-js.org @@ -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