File tree 1 file changed +1
-12
lines changed
1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 26
26
(require 'cl-lib )
27
27
(require 'json )
28
28
(require 'url-util )
29
+ (require 'haskell-compat )
29
30
(require 'haskell-session )
30
31
(require 'haskell-customize )
31
32
(require 'haskell-str )
@@ -217,18 +218,6 @@ the response."
217
218
(haskell-process-send-string (car state)
218
219
(cdr state))))))
219
220
220
- (eval-when-compile
221
- ; ; Emacs23 does not have process-live-p. That is easy to define.
222
- (unless (fboundp 'process-live-p )
223
- (defun process-live-p (process )
224
- " Returns non-nil if PROCESS is alive.
225
- A process is considered alive if its status is `run' , `open' ,
226
- `listen' , `connect' or `stop' . Value is nil if PROCESS is not a
227
- process."
228
- (and (processp process)
229
- (memq (process-status process)
230
- '(run open listen connect stop))))))
231
-
232
221
233
222
(defun haskell-process-queue-command (process command )
234
223
" Add a command to the process command queue."
You can’t perform that action at this time.
0 commit comments