diff options
-rw-r--r-- | .emacs.d/lisp/init-clojure.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.emacs.d/lisp/init-clojure.el b/.emacs.d/lisp/init-clojure.el index 855d5e1..215b52c 100644 --- a/.emacs.d/lisp/init-clojure.el +++ b/.emacs.d/lisp/init-clojure.el @@ -22,11 +22,11 @@ :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)) :hook - (clojure-mode . - (lambda () - (clj-refactor-mode 1) - (yas-minor-mode 1)))) + (clojure-mode . clj-refactor-hook-fn)) (use-package cider :diminish |