   (add-hook 'emacs-lisp-mode-hook #'aggressive-indent-mode)
   :diminish "")
 
-;; Use lispy-mode in emacs-lisp
-(add-hook 'emacs-lisp-mode-hook #'lispy-mode)
-
-;; Work around https://github.com/abo-abo/lispy/issues/283
-(remove-hook 'python-mode-hook #'wisent-python-default-setup)
-
 (use-package lispy
   :config
+  ;; Use lispy-mode in emacs-lisp
+  (add-hook 'emacs-lisp-mode-hook #'lispy-mode)
+
   ;; Disable the lispy keybindings that I don't want:
   (define-key lispy-mode-map (kbd "M-.") nil)
   (define-key lispy-mode-map (kbd "M-,") nil)

(eval-after-load 'flycheck
  '(add-hook 'flycheck-mode-hook #'flycheck-cask-setup))

;; rather than using TAGS, jump to function definitions that we have
;; loaded
(require 'elisp-slime-nav)
(dolist (hook '(emacs-lisp-mode-hook ielm-mode-hook))
  (add-hook hook 'elisp-slime-nav-mode))

(require 'diminish)
(diminish 'elisp-slime-nav-mode)

(add-hook 'ielm-mode-hook #'company-mode)
(add-hook 'ielm-mode-hook #'eldoc-mode)

(require 'company)
(require 'company-elisp)

;; When evaluating lisp in the minibuffer, use eldoc.
(add-hook 'eval-expression-minibuffer-setup-hook #'eldoc-mode)

;; from http://endlessparentheses.com/eval-result-overlays-in-emacs-lisp.html
