Redirect error ouput in `ghc-run-ghc-mod'

Fixes #820.
This commit is contained in:
Lukas Fürmetz 2016-08-08 14:05:28 +02:00
parent c0732ad9cb
commit 0785f5c272

View File

@ -211,7 +211,7 @@
default-directory))) ;; ghc-mod root
(with-temp-buffer
(let ((default-directory cdir))
(apply 'ghc-call-process target nil t nil
(apply 'ghc-call-process target nil '(t nil) nil
(append (ghc-make-ghc-options) cmds))
(buffer-substring (point-min) (1- (point-max)))))))))