From 70f6206e2e7b33d7495fd13c8eb99ca5e9d85b07 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 23 Feb 2018 14:20:49 +0900 Subject: [PATCH] Remove some modifications to js2-mode --- emacs.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/emacs.el b/emacs.el index ffc67b1..d1bb19a 100644 --- a/emacs.el +++ b/emacs.el @@ -1014,11 +1014,11 @@ found, otherwise returns nil." ;; currently do not use js2-mode ;; (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode)) ;; (add-to-list 'auto-mode-alist '("\\.jsm\\'" . js2-mode)) - (defvar js2-mode-map (make-sparse-keymap)) - (define-key js2-mode-map (kbd "C-m") (lambda () - (interactive) - (js2-enter-key) - (indent-for-tab-command))) + ;; (defvar js2-mode-map (make-sparse-keymap)) + ;; (define-key js2-mode-map (kbd "C-m") (lambda () + ;; (interactive) + ;; (js2-enter-key) + ;; (indent-for-tab-command))) ;; (add-hook (kill-local-variable 'before-save-hook) ;; 'js2-before-save) ;; (add-hook 'before-save-hook