Skip to content

Commit eade508

Browse files
committed
Move package metadata to haskell-mode.el (see #1755)
1 parent e835894 commit eade508

File tree

4 files changed

+6
-17
lines changed

4 files changed

+6
-17
lines changed

.dir-locals.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
((emacs-lisp-mode
55
(indent-tabs-mode)
6-
(package-lint-main-file . "haskell-mode-pkg.el")))
6+
(package-lint-main-file . "haskell-mode.el")))

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ EFLAGS = --eval "(when (boundp 'load-prefer-newer) (setq load-prefer-newer t))"
3030

3131
BATCH = @echo EMACS $@; "$(EMACS)" $(EFLAGS) --batch -Q -L .
3232

33-
ELFILES := $(filter-out haskell-mode-autoloads.el haskell-mode-pkg.el,$(wildcard *.el))
33+
ELFILES := $(filter-out haskell-mode-autoloads.el,$(wildcard *.el))
3434

3535
ELCHECKS := $(wildcard tests/*-tests.el)
3636

@@ -100,7 +100,7 @@ check-ert: $(ELCHECKS)
100100

101101
# TODO: fix issues, then enforce build failure if this fails
102102
check-package-lint:
103-
$(BATCH) --eval $(INIT_PACKAGES) --eval '(setq package-lint-main-file "haskell-mode-pkg.el")' -f package-lint-batch-and-exit $(ELFILES) || true
103+
$(BATCH) --eval $(INIT_PACKAGES) --eval '(setq package-lint-main-file "haskell-mode.el")' -f package-lint-batch-and-exit $(ELFILES) || true
104104

105105
clean:
106106
$(RM) -r build-$(EMACS_VERSION) $(AUTOLOADS) $(AUTOLOADS:.el=.elc) haskell-mode.info dir

haskell-mode-pkg.el

-7
This file was deleted.

haskell-mode.el

+3-7
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@
55

66
;; Copyright © 1992, 1997-1998 Simon Marlow, Graeme E Moss, and Tommy Thorn
77

8-
;; Author: 1992 Simon Marlow
9-
;; 1997-1998 Graeme E Moss <[email protected]> and
10-
;; Tommy Thorn <[email protected]>,
11-
;; 2001-2002 Reuben Thomas (>=v1.4)
12-
;; 2003 Dave Love <[email protected]>
13-
;; 2016 Arthur Fayzrakhmanov
14-
;; Keywords: faces files Haskell
8+
;; Version: 17.3
9+
;; Package-Requires: ((emacs "25.1"))
10+
;; Keywords: haskell cabal ghc repl languages
1511
;; URL: https://github.com/haskell/haskell-mode
1612

1713
;; This file is not part of GNU Emacs.

0 commit comments

Comments
 (0)