Skip to content

Commit 7cc6a35

Browse files
committed
Require purescript-font-lock at the top level, not in a function
1 parent 666ebe9 commit 7cc6a35

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

psci.el

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
(require 'comint)
5252
(require 'dash)
53-
(require 'purescript-mode)
53+
(require 'purescript-font-lock)
5454

5555
;; constants or variables
5656

@@ -169,7 +169,6 @@ default to the current buffer's directory."
169169
"Major mode for `run-psci'.
170170
171171
\\<psci-mode-map>"
172-
(require 'purescript-font-lock)
173172
(setq-local comint-prompt-regexp (concat "^" (regexp-quote psci/prompt)))
174173
(setq-local paragraph-separate "\\'") ;; so commands like M-{ and M-} work.
175174
(setq-local paragraph-start comint-prompt-regexp)

0 commit comments

Comments
 (0)