From 8621c1ee2f7b21fcef2e3c7c6e7d0b48cbd31594 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Fri, 10 Jun 2022 13:30:14 +0100 Subject: Prevent duplicate ns declarations in new clj files --- .emacs.d/lisp/init-clojure.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.emacs.d/lisp/init-clojure.el b/.emacs.d/lisp/init-clojure.el index c676693..0cd3200 100644 --- a/.emacs.d/lisp/init-clojure.el +++ b/.emacs.d/lisp/init-clojure.el @@ -19,9 +19,11 @@ :diminish :after yasnippet :bind ("C-c '" . hydra-cljr-help-menu/body) + :custom + (cljr-suppress-no-project-warning t) + (cljr-add-ns-to-blank-clj-files nil) ; disable clj-refactor adding ns to blank files :config (cljr-add-keybindings-with-prefix "C-c C-m") - (setq cljr-suppress-no-project-warning t) (defun clj-refactor-hook-fn () (clj-refactor-mode 1) (yas-minor-mode 1)) -- cgit 1.4.1-2-gfad0