Fork me on GitHub
#emacs
<
2016-10-12
>
Niclas08:10:19

Is there a way to run a command within another directory, without changing the current directory? I’m thinking something along the lines of

(with-current-dir “..”
  (interactive)
  (cider-jack-in-clojurescript))

Niclas08:10:55

Never mind, I found the solution:

(interactive)
(let ((default-directory ".."))
  (cider-jack-in-clojurescript))