Skip to content

Commit f03e7f2

Browse files
committed
Straighten out circular dependencies with purescript-font-lock
1 parent 0d7d89f commit f03e7f2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

purescript-font-lock.el

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787

8888
;;; Code:
8989

90-
(require 'purescript-mode)
9190
(require 'font-lock)
9291
(require 'cl-lib)
9392

purescript-mode.el

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
(require 'purescript-align-imports)
3636
(require 'purescript-sort-imports)
3737
(require 'purescript-string)
38+
(require 'purescript-font-lock)
3839
(require 'cl-lib)
3940

4041
;; All functions/variables start with `(literate-)purescript-'.
@@ -91,8 +92,7 @@ sure all purescript customize definitions have been loaded."
9192
(interactive)
9293
;; make sure all modules with (defcustom ...)s are loaded
9394
(mapc 'require
94-
'(purescript-font-lock
95-
purescript-indentation
95+
'(purescript-indentation
9696
purescript-indent
9797
purescript-interactive-mode
9898
purescript-yas))
@@ -320,7 +320,6 @@ see documentation for that variable for more details."
320320
(set (make-local-variable 'parse-sexp-ignore-comments) nil)
321321
(set (make-local-variable 'indent-line-function) 'purescript-mode-suggest-indent-choice)
322322
;; Set things up for font-lock.
323-
(require 'purescript-font-lock)
324323
(set (make-local-variable 'font-lock-defaults)
325324
'(purescript-font-lock-choose-keywords
326325
nil nil ((?\' . "w") (?_ . "w")) nil

0 commit comments

Comments
 (0)