            (validate-setq helm-ag-base-command "ack --nocolor --nogroup"))))
 
   (use-package helm-buffers
-    :after ido
     :config
     (validate-setq helm-buffer-max-length 40)
+    (use-package ido)
     (validate-setq ido-use-virtual-buffers t)
     ;; Remote checking is slow. Disable.
     (validate-setq helm-buffer-skip-remote-checking t)

  (validate-setq use-dialog-box nil))

(use-package server
  :defer 2
  :config
  (unless (server-running-p)
    (server-start)))

    (flyspell-mode +1)
    (org-display-inline-images))
  :ensure t
  :hook ((org-mode . ar/org-mode-hook-function)
         (org-mode . visual-line-mode))
  :config
  (csetq org-todo-keywords
         '((sequence
