 ;; Make C-x C-e run 'eval-region if the region is active
 
 (defun sanityinc/eval-last-sexp-or-region (prefix)
-  "Eval region from BEG to END if active, otherwise the last sexp."
+  "Eval region from `BEG' to `END' if active, otherwise the last sexp.
+Pretty-print output into current buffer with `PREFIX'."
   (interactive "P")
   (if (and (mark) (use-region-p))
       (eval-region (min (point) (mark)) (max (point) (mark)))

;; https://github.com/purcell/emacs.d/blob/8208151ab23cdcaa7b1027d16d8bd108a3b0dfd6/lisp/init-lisp.el

(require-package 'elisp-slime-nav)
(dolist (hook '(emacs-lisp-mode-hook ielm-mode-hook))

;; ----------------------------------------------------------------------------

(require-package 'auto-compile)
(require 'auto-compile)

(auto-compile-on-save-mode 1)
(auto-compile-on-load-mode 1)

