Permalink
Browse files

cleanup whitespace in js2-mode again

  • Loading branch information...
1 parent 3122aec commit ac4298ceb4f853fdc9bf44491287fc82c9abe00a @langmartin committed Mar 22, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 rc-javascript.el
View
@@ -11,13 +11,15 @@
(defun rc-js2-mode-setup ()
(interactive)
(require 'js2-mode)
+ (require 'rc-python) ; cleanup
(custom-set-variables
'(js2-bounce-indent-p t)
'(js2-mirror-mode nil)
'(js2-cleanup-whitespace t)
'(js2-global-externs (quote ("require" "exports" "process" "console"))))
(add-hook 'js2-mode-hook 'turn-on-c-subword-mode)
(define-key js2-mode-map (kbd "H-l") 'js-insert-lambda)
+ (define-key js2-mode-map (kbd "C-x C-s") 'cleanup-save)
;; (eval-after-load 'js2-mode
;; '(progn
;; (require 'js2-imenu-extras)

0 comments on commit ac4298c

Please sign in to comment.