Skip to content

Commit

Permalink
Merge pull request doomemacs#1359 from gsnewmark/fix-clojure-mode-loo…
Browse files Browse the repository at this point in the history
…kup-handlers-again

Set Clojure lookup handlers for specific minor modes to avoid overwriting
  • Loading branch information
Henrik Lissner authored Apr 24, 2019
2 parents 768d6e9 + dfad10e commit 52eed89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/lang/clojure/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
:init
(set-repl-handler! 'clojure-mode #'+clojure/repl)
(set-eval-handler! 'clojure-mode #'cider-eval-region)
(set-lookup-handlers! 'clojure-mode
(set-lookup-handlers! 'cider-mode
:definition #'cider-find-dwim
:documentation #'cider-doc)
(add-hook 'cider-mode-hook #'eldoc-mode)
Expand Down Expand Up @@ -105,7 +105,7 @@
(def-package! clj-refactor
:hook (clojure-mode . clj-refactor-mode)
:init
(set-lookup-handlers! 'clojure-mode
(set-lookup-handlers! 'clj-refactor-mode
:references #'cljr-find-usages)
:config
(map! :map clojure-mode-map
Expand Down

0 comments on commit 52eed89

Please sign in to comment.