Fork me on GitHub
#emacs
<
2021-04-27
>
Ben Sless12:04:26

Is there a way to update a variable in dir-locals instead of overriding it? Thinking about cider-clojure-cli-global-options

yuhan12:04:59

you could use eval to run arbitrary forms

yuhan12:04:46

something like

((clojure-mode . ((eval . (add-to-list (make-local-variable 'cider-clojure-cli-aliases)
                                       "dev")))))

gon14:04:44

Also you could use the C-u prefix before cider-jack-in to rewrite the default command line