From 84f0f5ba72781668b5d61ed10676d46e00bf70c0 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Mon, 4 Oct 2021 15:05:29 +0100 Subject: Remove unnecessary code --- .emacs.d/lisp/init-clojure.el | 8 -------- 1 file changed, 8 deletions(-) (limited to '.emacs.d') diff --git a/.emacs.d/lisp/init-clojure.el b/.emacs.d/lisp/init-clojure.el index 5e8e4ff..7e52e4c 100644 --- a/.emacs.d/lisp/init-clojure.el +++ b/.emacs.d/lisp/init-clojure.el @@ -54,13 +54,5 @@ (cider-repl-mode . cider-repl-mode-hook-fn) (cider-mode . eldoc-mode)) -(use-package nix-sandbox - :config - (defun nix-shell-lein-command () - (when (file-exists-p (expand-file-name "shell.nix" (project-root (project-current)))) - (setq-local cider-lein-command (nix-executable-find (nix-current-sandbox) "lein")))) - :hook - (cider-mode . nix-shell-lein-command)) - (provide 'init-clojure) ;;; init-clojure.el ends here -- cgit 1.4.1-2-gfad0