setting sentinel.
This commit is contained in:
parent
7d81a357f7
commit
94c4ae205d
@ -65,6 +65,7 @@
|
||||
(defun ghc-start-process (name buf)
|
||||
(let ((pro (start-file-process name buf ghc-interactive-command "-b" "\n" "-l")))
|
||||
(set-process-filter pro 'ghc-process-filter)
|
||||
(set-process-sentinel pro 'ghc-process-sentinel)
|
||||
(set-process-query-on-exit-flag pro nil)
|
||||
pro))
|
||||
|
||||
@ -94,6 +95,9 @@
|
||||
(insert-buffer-substring cbuf))))
|
||||
(setq ghc-process-running nil)))))))
|
||||
|
||||
(defun ghc-process-sentinel (process event)
|
||||
(setq ghc-process-running nil))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defvar ghc-process-rendezvous nil)
|
||||
|
Loading…
Reference in New Issue
Block a user