Skip to content

Commit a69d06d

Browse files
committed
Merge pull request #619 from haskell/haskell-snippets-breakout
Broke haskell-snippets into its own package.
2 parents 92bf684 + 9ce2806 commit a69d06d

27 files changed

+9
-352
lines changed

Makefile

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
#
32
# Note: Due to MELPA distributing directly from github source version
43
# needs to be embedded in files as is without proprocessing.
@@ -28,9 +27,9 @@ INSTALL_INFO = install-info
2827
EMACS := $(shell echo "$${EMACS:-emacs}")
2928

3029
EFLAGS = --eval "(add-to-list 'load-path (expand-file-name \"tests/compat\") 'append)" \
31-
--eval "(when (< emacs-major-version 24) \
32-
(setq byte-compile-warnings '(not cl-functions)))" \
33-
--eval '(setq byte-compile-error-on-warn t)'
30+
--eval "(when (< emacs-major-version 24) \
31+
(setq byte-compile-warnings '(not cl-functions)))" \
32+
--eval '(setq byte-compile-error-on-warn t)'
3433

3534
BATCH = $(EMACS) $(EFLAGS) --batch -Q -L .
3635

@@ -73,7 +72,6 @@ ELFILES = \
7372
haskell-string.el \
7473
haskell-unicode-input-method.el \
7574
haskell-utils.el \
76-
haskell-yas.el \
7775
inf-haskell.el
7876

7977
ELCFILES = $(ELFILES:.el=.elc)
@@ -114,12 +112,12 @@ dir: haskell-mode.info
114112
haskell-mode.info: haskell-mode.texi
115113
# Check if chapter order is same as node order
116114
@sed -n -e '/@chapter/ s/@code{\(.*\)}/\1/' \
117-
-e 's/@chapter \(.*\)$$/* \1::/p' \
118-
-e 's/@unnumbered \(.*\)$$/* \1::/p' \
119-
haskell-mode.texi > haskell-mode-menu-order.txt
115+
-e 's/@chapter \(.*\)$$/* \1::/p' \
116+
-e 's/@unnumbered \(.*\)$$/* \1::/p' \
117+
haskell-mode.texi > haskell-mode-menu-order.txt
120118
@sed -e '1,/@menu/ d' \
121-
-e '/end menu/,$$ d' \
122-
haskell-mode.texi > haskell-mode-content-order.txt
119+
-e '/end menu/,$$ d' \
120+
haskell-mode.texi > haskell-mode-content-order.txt
123121
diff -C 1 haskell-mode-menu-order.txt haskell-mode-content-order.txt
124122
@rm haskell-mode-menu-order.txt haskell-mode-content-order.txt
125123

haskell-customize.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ sure all haskell customize definitions have been loaded."
363363
(interactive)
364364
;; make sure all modules with (defcustom ...)s are loaded
365365
(mapc 'require
366-
'(haskell-checkers haskell-compile haskell-doc haskell-font-lock haskell-indentation haskell-indent haskell-interactive-mode haskell-menu haskell-process haskell-yas inf-haskell))
366+
'(haskell-checkers haskell-compile haskell-doc haskell-font-lock haskell-indentation haskell-indent haskell-interactive-mode haskell-menu haskell-process inf-haskell))
367367
(customize-browse 'haskell))
368368

369369
(provide 'haskell-customize)

haskell-yas.el

Lines changed: 0 additions & 70 deletions
This file was deleted.

snippets/README.md

Lines changed: 0 additions & 89 deletions
This file was deleted.

snippets/haskell-mode/.yas-ignore-filenames-as-triggers

Whitespace-only changes.

snippets/haskell-mode/.yas-make-groups

Whitespace-only changes.

snippets/haskell-mode/case

Lines changed: 0 additions & 9 deletions
This file was deleted.

snippets/haskell-mode/comment.block

Lines changed: 0 additions & 6 deletions
This file was deleted.

snippets/haskell-mode/constraint

Lines changed: 0 additions & 6 deletions
This file was deleted.

snippets/haskell-mode/data.inline

Lines changed: 0 additions & 7 deletions
This file was deleted.

snippets/haskell-mode/data.record

Lines changed: 0 additions & 10 deletions
This file was deleted.

snippets/haskell-mode/fn

Lines changed: 0 additions & 9 deletions
This file was deleted.

snippets/haskell-mode/fn.clause

Lines changed: 0 additions & 10 deletions
This file was deleted.

snippets/haskell-mode/fn.guarded

Lines changed: 0 additions & 11 deletions
This file was deleted.

snippets/haskell-mode/get

Lines changed: 0 additions & 6 deletions
This file was deleted.

snippets/haskell-mode/if.block

Lines changed: 0 additions & 8 deletions
This file was deleted.

snippets/haskell-mode/if.inline

Lines changed: 0 additions & 6 deletions
This file was deleted.

snippets/haskell-mode/import

Lines changed: 0 additions & 7 deletions
This file was deleted.

snippets/haskell-mode/import.qualified

Lines changed: 0 additions & 9 deletions
This file was deleted.

snippets/haskell-mode/instance

Lines changed: 0 additions & 8 deletions
This file was deleted.

snippets/haskell-mode/lambda

Lines changed: 0 additions & 6 deletions
This file was deleted.

snippets/haskell-mode/lang-pragma

Lines changed: 0 additions & 7 deletions
This file was deleted.

snippets/haskell-mode/let

Lines changed: 0 additions & 6 deletions
This file was deleted.

snippets/haskell-mode/main

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)