Merge pull request #408 from iquiw/master
Remove timeout from loop in ghc-sync-process
This commit is contained in:
commit
e487a366d8
@ -112,8 +112,9 @@
|
|||||||
(setq ghc-process-num-of-results (or n 1))
|
(setq ghc-process-num-of-results (or n 1))
|
||||||
(let ((pro (ghc-with-process cmd 'ghc-process-callback nil hook)))
|
(let ((pro (ghc-with-process cmd 'ghc-process-callback nil hook)))
|
||||||
(condition-case nil
|
(condition-case nil
|
||||||
(while (and (null ghc-process-rendezvous)
|
(let ((inhibit-quit nil))
|
||||||
(accept-process-output pro 2)))
|
(while (null ghc-process-rendezvous)
|
||||||
|
(accept-process-output pro)))
|
||||||
(quit
|
(quit
|
||||||
(setq ghc-process-running nil))))
|
(setq ghc-process-running nil))))
|
||||||
ghc-process-results))
|
ghc-process-results))
|
||||||
|
Loading…
Reference in New Issue
Block a user