             #'ar/clang-format-buffer
             nil
             'make-it-local)
+  (electric-operator-mode)
   (objc-font-lock-mode)
   (helm-dash-activate-docset "iOS")
   (set-fill-column 100)

(defun ar/python-mode-hook-function ()
  "Called when entering `python-mode'."
  (setq python-indent-offset 4)
  (anaconda-mode)
  (eldoc-mode +1)
  ;; FIXME python-docstring-mode currently broken

(defun ar/java-mode-hook-function ()
  "Called when entering `java-mode'."
  (bind-key [f6] java-mode-map)
  (electric-operator-mode)
  ;; 2-char indent for java.
  (defvar c-basic-offset)
  (setq c-basic-offset 2)
