1

I am trying to make it so the default working directory of haskell mode updates when I load a module via C-l. Currently, the working directory is always my home directory. This makes it impossible to load custom modules and run them with emacs. Instead, I have to launch them from the command line which isn't horrible but it is more time consuming and a little annoying.

How can I make the working directory update when I use C-l to load a module?

Matvey Aksenov
  • 3,802
  • 3
  • 23
  • 45
Joe
  • 1,534
  • 9
  • 19

1 Answers1

1

If you are using haskell-mode then I think you can set a key to haskell-process-load-file. You can see the examples here

Satvik
  • 11,238
  • 1
  • 38
  • 46