   ;;
   ;; [1]: https://github.com/jwiegley/use-package/issues/413
 
+  (defun radian--enable-counsel-projectile-patches ()
+    (require 'counsel-projectile))
+
+  (add-hook 'el-patch-pre-validate-hook
+            #'radian--enable-counsel-projectile-patches)
+
   (el-patch-defun counsel-projectile-commander-bindings ()
     (def-projectile-commander-method ?f
       "Find file in project."

                    (replace-match (clojure-docstring-fill-prefix))))
              (lisp-indent-line))))
      (el-patch-unpatch 'clojure-in-docstring-p 'defsubst)
      (el-patch-unpatch 'clojure-indent-function 'defun)))

  (add-hook 'clojure-mode-hook #'radian-clojure-strings-as-docstrings-mode)



  ;; Lazy-load Ivy.

  (defun radian--enable-ivy-patches ()
    (require 'ivy))

  (add-hook 'el-patch-pre-validate-hook #'radian--enable-ivy-patches)

  (el-patch-defvar ivy-mode-map
    (let ((map (make-sparse-keymap)))
      (define-key map [remap switch-to-buffer]
        'ivy-switch-buffer)
