Fork me on GitHub
#spacemacs
<
2018-07-26
>
Pak16:07:23

@eggsyntax there’s additional code being run in packages.el of the clojure layer, which is probably overriding your code

eggsyntax16:07:42

Hmm. So possibly I need to do it as (with-eval-after-load 'clojure-mode ...)?

eggsyntax16:07:51

I may not be understanding the full order in which code is running at startup. I thought it was load libs -> run lib code -> user-config (maybe with other stuff in between, certainly with stuff before & after)

Pak16:07:51

not sure myself, but try it without the with-eval-after-load? the user-config section is executed right at the end of the spacemacs startup …

eggsyntax16:07:09

Worth a try!

eggsyntax16:07:34

Nah, no such luck.

eggsyntax16:07:15

Nor (with-eval-after-load 'clojure-mode ...)

eggsyntax16:07:36

The keymapping which overrides it is defined in cider-repl.el, which is why it seemed like with-eval-after-load 'cider-repl-mode-map would do it.