 
 (defun ar/js-mode-hook-function ()
   "Called when entering `js-mode'."
-  (setq company-tooltip-align-annotations t)
-  (setq company-tern-meta-as-single-line t)
-  (setq company-tern-property-marker "")
-  (setq js-indent-level 2))
+  (setq-local company-tooltip-align-annotations t)
+  (setq-local company-tern-meta-as-single-line t)
+  (setq-local company-tern-property-marker "")
+  (setq-local js-indent-level 2))
 
 (add-hook 'js-mode-hook #'ar/js-mode-hook-function)
 

  ;; FIXME python-docstring-mode currently broken
  ;; (python-docstring-mode +1)
  (setq-local company-backends '(company-anaconda))
  (company-mode)
  (py-yapf-enable-on-save))
(add-hook 'python-mode-hook #'ar/python-mode-hook-function)


        (format-time-string "%h %d"))
      (spaceline-toggle-time-on)
      (spaceline-emacs-theme 'date 'time))))

(use-package tramp
  :config
  (setq tramp-default-method "ssh"))

;; Based on http://www.pygopar.com/setting-emacs-transparency
(defun ar/set-current-frame-alpha-channel (focused-alpha
