Skip to content

Commit 6a9d45a

Browse files
committed
Improve the docstring to show as example a function that actually works.
1 parent 854c007 commit 6a9d45a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

haskell-process.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ See `haskell-process-do-cabal' for more details."
117117
118118
If no wrapper is needed, then using 'identify function is sufficient.
119119
Otherwise, define a function which takes a list of arguments.
120-
For example: (lambda (argv)
121-
(append '(\"nix-shell\" \"haskell-lab.nix\" \"--command\")
122-
(shell-quote-argument argv)))")
120+
For example:
121+
(lambda (argv) (append (list \"nix-shell\" \"default.nix\" \"--command\" )
122+
(list (mapconcat 'identity argv \" \"))))")
123123

124124
(defcustom haskell-process-log
125125
nil

0 commit comments

Comments
 (0)