 (use-package pydoc-info :ensure t)
 
 (use-package elpy :ensure t
-  :config
-  (elpy-enable))
+  :hook (python-mode . elpy-enable))
 
 ;; Disabled anaconda in favor of elpy.
 ;; (defun ar/python-mode-hook-function-anaconda ()

  :config
  (validate-setq projectile-enable-caching t)
  (projectile-mode))

;; Best way (so far) to search for files in repo.
(use-package helm-projectile :ensure t
  :bind ("C-x f" . helm-projectile))

(use-package ediff
  :init

  (unless (server-running-p)
    (server-start)))

(run-with-idle-timer 5 nil
                     'ar/load-all-files
                     "~/.emacs.d/local/*.el")

;; Use a hook so the message doesn't get clobbered by other messages.
;; From https://zzamboni.org/post/my-emacs-configuration-with-commentary
