fixing #204.
This commit is contained in:
parent
894c94e48d
commit
cc519edc98
@ -24,11 +24,12 @@
|
||||
|
||||
(defun ghc-get-project-root ()
|
||||
(let ((file (buffer-file-name)))
|
||||
(when file
|
||||
(with-temp-buffer
|
||||
(ghc-call-process ghc-module-command nil t nil "root" file)
|
||||
(goto-char (point-min))
|
||||
(when (looking-at "^\\(.*\\)$")
|
||||
(match-string-no-properties 1)))))
|
||||
(match-string-no-properties 1))))))
|
||||
|
||||
(defun ghc-with-process (send callback)
|
||||
(unless ghc-process-process-name
|
||||
|
Loading…
Reference in New Issue
Block a user