From b665a403f0ae7c9b3e8c261743eb9d92c65f60c0 Mon Sep 17 00:00:00 2001 From: Aaron Steele Date: Thu, 13 Jun 2024 08:24:23 -0700 Subject: [PATCH 1/2] gitignore six --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index df197f5a..4076aa24 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ public/ /.lsp /.cpcache /.vscode +/.six \ No newline at end of file From a90b246273397a1560217c73dee32a3372ea5ecc Mon Sep 17 00:00:00 2001 From: Aaron Steele Date: Thu, 13 Jun 2024 09:57:56 -0700 Subject: [PATCH 2/2] fix put-clojure-indent projectile errors --- .dir-locals.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.dir-locals.el b/.dir-locals.el index 6c97ebe1..708c608e 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -5,5 +5,10 @@ (cider-clojure-cli-aliases . ":test:cljs:nextjournal/clerk:dev") ;; Custom indentation: - (eval . (put-clojure-indent 'sci-macro :defn)) - (eval . (put-clojure-indent 'careful-def 1))))) + (eval . (progn + ;; the require here avoids projectile errors: + ;; "Symbol’s function definition is void: put-clojure-indent" + (require 'clojure-mode) + (require 'cider) + (put-clojure-indent 'sci-macro :defn) + (put-clojure-indent 'careful-def 1))))))