diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-06-10 13:30:14 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-06-10 13:30:14 +0100 |
commit | 8621c1ee2f7b21fcef2e3c7c6e7d0b48cbd31594 (patch) | |
tree | 1cade2f482c35c5211ebd9d6147eca947b71fa13 | |
parent | 6f3370ebe7f75e6633a3b208d7b2a7a1532fdad3 (diff) | |
download | dotfiles-8621c1ee2f7b21fcef2e3c7c6e7d0b48cbd31594.tar.gz |
Prevent duplicate ns declarations in new clj files
-rw-r--r-- | .emacs.d/lisp/init-clojure.el | 4 |
1 files changed, 3 insertions, 1 deletions
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)) |