   :bind ("C-x k" . kill-this-buffer))
 
 (use-package shell-pop :ensure t
-  :preface
+  :config
   (defun ar/shell-pop (shell-pop-autocd-to-working-dir)
     "Shell pop with arg to cd to working dir. Else use existing location."
     (interactive "P")

    (if (string= (buffer-name) shell-pop-last-shell-buffer-name)
        (shell-pop-out)
      (shell-pop-up shell-pop-last-shell-buffer-index)))
  :config
  ;; Customize shell-pop.
  (validate-setq shell-pop-term-shell "/bin/bash")
  ;; Trying shell out. Disabling ansi-term for now.

;; M-. elisp navigation.
(use-package elisp-slime-nav :ensure t)

(use-package package-lint :ensure t)

;; Edit Emacs variables/state inline.
(use-package refine :ensure t)

