File tree 2 files changed +4
-15
lines changed
2 files changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ GIT_VERSION = $(shell git describe --tags --match 'v[0-9]*' --long --dirty | sed
3
3
4
4
INSTALL_INFO = install-info
5
5
EMACS = emacs
6
- EFLAGS = --eval "(if (< emacs-major-version 24) \
7
- (progn ( add-to-list 'load-path (expand-file-name \"tests/compat\")) \
8
- (setq byte-compile-warnings '(not cl-functions))))" \
6
+ EFLAGS = --eval "(when (< emacs-major-version 24) \
7
+ ( add-to-list 'load-path (expand-file-name \"tests/compat\")) \
8
+ (setq byte-compile-warnings '(not cl-functions)))" \
9
9
--eval '(setq byte-compile-error-on-warn t)'
10
10
11
11
BATCH = $(EMACS ) $(EFLAGS ) --batch -Q -L .
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