We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11b7b9c commit 900f864Copy full SHA for 900f864
haskell-commands.el
@@ -795,11 +795,7 @@ Use buffer as input and replace the whole buffer with the
795
output. If CMD fails the buffer remains unchanged."
796
(set-buffer-modified-p t)
797
(let* ((tmp-buf (generate-new-buffer "stylish-output"))
798
- (err-file (make-temp-file "stylish-error"))
799
- (default-directory (if (and (boundp 'haskell-session)
800
- haskell-session)
801
- (haskell-session-cabal-dir haskell-session)
802
- default-directory)))
+ (err-file (make-temp-file "stylish-error")))
803
(unwind-protect
804
(let* ((_errcode
805
(call-process-region (point-min) (point-max) cmd nil
0 commit comments