Skip to content

Commit b8e1789

Browse files
committed
Simplify hack and use existing haskell-mode's compat mechanism
1 parent 07bf9cd commit b8e1789

File tree

3 files changed

+745
-20
lines changed

3 files changed

+745
-20
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ GIT_VERSION = $(shell git describe --tags --match 'v[0-9]*' --long --dirty | sed
33

44
INSTALL_INFO = install-info
55
EMACS = emacs
6-
EFLAGS = --eval "(when (< emacs-major-version 24) \
7-
(add-to-list 'load-path (expand-file-name \"tests/compat\")) \
6+
EFLAGS = --eval "(add-to-list 'load-path (expand-file-name \"tests/compat\") 'append)" \
7+
--eval "(when (< emacs-major-version 24) \
88
(setq byte-compile-warnings '(not cl-functions)))" \
9-
--eval '(setq byte-compile-error-on-warn t)'
9+
--eval '(setq byte-compile-error-on-warn t)' \
1010

1111
BATCH = $(EMACS) $(EFLAGS) --batch -Q -L .
1212
SUBST_ATAT = sed -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g;s/@GIT_VERSION@/$(GIT_VERSION)/g;s/@@VERSION@@/$(VERSION)/g;s/@VERSION@/$(VERSION)/g'

0 commit comments

Comments
 (0)