Skip to content

Commit bc6b302

Browse files
committed
Explain how to test changes to haskell-mode locally
This is only the second Emacs package I've edited, and it took me a long time to figure out how to test my changes locally the first time around.
1 parent 5a2d3aa commit bc6b302

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

CONTRIBUTING.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Welcome nice stranger!
1+
# Welcome nice stranger!
22

33
Haskell Mode loves contributors and we strive to go extra length to
44
help out both newcomers and serial contributors.
@@ -9,3 +9,15 @@ https://github.com/haskell/haskell-mode/wiki/Contributing
99

1010
> When I started contributing to haskell-mode I had 0 experience in Elisp, but it was super easy to learn it.
1111
> -- [geraldus, 2016-01-16](https://github.com/haskell/haskell-mode/issues/1086#issuecomment-172177949)
12+
13+
# Hacking on Haskell Mode
14+
15+
To try out your changes to Haskell Mode without affecting your global
16+
Emacs installation, build Haskell Mode by running `make` here, and
17+
then run
18+
19+
emacs -L <path to this haskell-mode.git repo>
20+
21+
from any directory you'd like to test in. This makes Emacs load
22+
Haskell Mode from this Git repo, instead of using any globally
23+
installed version you might have.

0 commit comments

Comments
 (0)