 ;;;;;;;;
 ;; java-mode
 ;;;;;;;;
-(add-hook 'java-mode-hook '(lambda ()
-                             (setq indent-tabs-mode nil)
-                             (setq c-basic-offset 4)))
+(add-hook 'java-mode-hook (lambda ()
+                            (setq indent-tabs-mode nil)
+                            (setq c-basic-offset 4)))
 
 ;;;;;;;;
 ;; mouse, mwheel

(ad-enable-advice 'font-lock-mode 'before 'my-font-lock-mode)
(ad-activate 'font-lock-mode)
(add-hook 'find-file-hooks
          '(lambda () (if font-lock-mode nil (font-lock-mode t))))

(if (not (or (eq system-type 'cygwin) (eq window-system 'x)))
    (progn (show-paren-mode 1)

;; undo-tree
;;;;;;;;
(require-if-not 'undo-tree)
(with-eval-after-load "undo-tree"
  (global-undo-tree-mode)
  ;; rxvt-unicode detects C-c C-/ as C-c C-_
  (define-key undo-tree-map (kbd "C-c C-/") 'undo-tree-redo)
  (define-key undo-tree-map (kbd "C-c C-_") 'undo-tree-redo)
  (setq undo-tree-auto-save-history nil))

;;;;;;;;
;; vue-mode
