ensuring that ghc-mod is executed on the root dir.
This commit is contained in:
parent
0aa3655e08
commit
ad5a343d2e
@ -87,13 +87,14 @@
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defun ghc-get-process (cpro name buf)
|
||||
(let ((default-directory name))
|
||||
(cond
|
||||
((not cpro)
|
||||
(ghc-start-process name buf))
|
||||
((not (eq (process-status cpro) 'run))
|
||||
(delete-process cpro)
|
||||
(ghc-start-process name buf))
|
||||
(t cpro)))
|
||||
(t cpro))))
|
||||
|
||||
(defun ghc-start-process (name buf)
|
||||
(let* ((process-connection-type nil) ;; using PIPE due to ^D
|
||||
|
Loading…
Reference in New Issue
Block a user