Merge pull request #408 from iquiw/master

Remove timeout from loop in ghc-sync-process
This commit is contained in:
Kazu Yamamoto 2014-11-27 10:25:48 +09:00
commit e487a366d8

View File

@ -112,8 +112,9 @@
(setq ghc-process-num-of-results (or n 1))
(let ((pro (ghc-with-process cmd 'ghc-process-callback nil hook)))
(condition-case nil
(while (and (null ghc-process-rendezvous)
(accept-process-output pro 2)))
(let ((inhibit-quit nil))
(while (null ghc-process-rendezvous)
(accept-process-output pro)))
(quit
(setq ghc-process-running nil))))
ghc-process-results))