Skip to content

Commit 18da298

Browse files
committed
Merge pull request #612 from TimoFreiberg/master
Fix hasktags call for windows
2 parents 2ba29a6 + ff0fcaf commit 18da298

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

haskell-commands.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -658,9 +658,9 @@ command from GHCi."
658658
(if (eq system-type 'windows-nt)
659659
(haskell-process-send-string
660660
(car state)
661-
(format ":!powershell -Command \"& { cd %s ; hasktags -e -x (ls -fi *.hs *.lhs *.hsc -exclude \\\"#*#\\\" -name -r) ; exit }\""
662-
(haskell-session-cabal-dir
663-
(haskell-process-session (car state)))))
661+
(format ":!hasktags --output=\"%s\\TAGS\" -x -e \"%s\""
662+
(haskell-session-cabal-dir (haskell-process-session (car state)))
663+
(haskell-session-cabal-dir (haskell-process-session (car state)))))
664664
(haskell-process-send-string
665665
(car state)
666666
(format ":!cd %s && %s | %s"

0 commit comments

Comments
 (0)