   (use-package helm-buffers
     :config
     (setq helm-buffers-favorite-modes (append helm-buffers-favorite-modes
-                                               '(picture-mode artist-mode)))
+                                              '(picture-mode artist-mode)))
     (setq helm-buffer-max-length 40))
   (use-package helm-files)
   (use-package helm-grep)


(add-hook 'java-mode-hook #'ar/java-mode-hook-function)

(defun ar/export-blog-to-html ()
  "Export blog to HTML."
  (interactive)

    (org-html-export-to-html)
    (browse-url (format "file:%s" (expand-file-name
                                   "~/stuff/active/blog/index.html")))))

(use-package flyspell :commands (flyspell-mode-on))

(defun ar/org-mode-hook-function ()
  "Called when entering org mode."
