   (tooltip-mode -1))
 
 ;; backup files
-(setq backup-directory-alist
-	  '(("." . "~/.emacs.d/backups")))
+(setq backup-directory-alist '(("." . "~/.emacs.d/backups")))
 
 ;; ----------------
 ;; auto-mode-alists


;; js2-mode
(add-hook 'js2-mode-hook
		  (lambda ()
			(setq mode-name "JS2")
            (local-set-key (kbd "C-c d") (lambda ()
                                            (interactive)
                                            (insert "debugger;" )))))

(setq-default js-indent-level 4
			  js2-allow-keywords-as-property-names t
			  js2-auto-insert-catch-block t
			  js2-concat-multiline-strings t
			  js2-global-externs '("$" "Y" "YUI" "_")
			  js2-highlight-level 3
			  js2-include-browser-externs t
			  js2-include-node-externs t)

;; js2-refactor-mode
(js2r-add-keybindings-with-prefix "C-c C-r")


;; No bars and buttons on linux, show a menu bar on mac anyway
(if (eq system-type 'darwin)
    (menu-bar-mode t)
  (menu-bar-mode -1))

(when window-system
