 
   ;; Global Hooks
 
-  (add-hook 'minibuffer-setup-hook #'conditionally-enable-lispy)
-  (add-hook 'minibuffer-setup-hook #'cursor-intangible-mode)
-  (add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p)
-  (add-hook 'text-mode-hook #'turn-on-auto-fill)
-  (add-hook 'before-save-hook #'db/delete-trailing-whitespace-maybe)
-  (add-hook 'prog-mode-hook #'page-break-lines-mode)
+  (add-hook 'minibuffer-setup-hook 'conditionally-enable-lispy)
+  (add-hook 'minibuffer-setup-hook 'cursor-intangible-mode)
+  (add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p)
+  (add-hook 'text-mode-hook 'turn-on-auto-fill)
+  (add-hook 'before-save-hook 'db/delete-trailing-whitespace-maybe)
+  (add-hook 'prog-mode-hook 'page-break-lines-mode)
   (when (<= 24 emacs-major-version)
-    (add-hook 'prog-mode-hook #'electric-indent-local-mode))
-  (add-hook 'lisp-mode-hook #'lispy-mode)
+    (add-hook 'prog-mode-hook 'electric-indent-local-mode))
+  (add-hook 'lisp-mode-hook 'lispy-mode)
   (unless on-windows
     ;; flyspell doesn’t work on windows right now, need to further investigate
     ;; what is happening here
-    (add-hook 'text-mode-hook #'turn-on-flyspell))
-  (add-hook 'text-mode-hook #'yas-minor-mode-on)
+    (add-hook 'text-mode-hook 'turn-on-flyspell))
+  (add-hook 'text-mode-hook 'yas-minor-mode-on)
 
   ;; Auto-Modes
 

(use-package hy-mode
  :commands (hy-mode)
  :config (progn
            (add-hook 'hy-mode-hook #'lispy-mode)
            (add-hook 'hy-mode-hook #'inferior-lisp)))

(defun org-babel-execute:hy (body params)
  ;; http://kitchingroup.cheme.cmu.edu/blog/2016/03/30/OMG-A-Lisp-that-runs-python/

                     (forall 'defun)
                     (exists 'defun)
                   (dopar 'defun))
                 (add-hook 'clojure-mode-hook 'lispy-mode)
                 (add-hook 'clojure-mode-hook 'clj-refactor-mode)
                 (add-hook 'clojure-mode-hook 'yas-minor-mode)
                 (add-hook 'clojure-mode-hook 'company-mode)))

(use-package clj-refactor
  :commands (clj-refactor-mode)
