Skip to content

Commit cd2ee96

Browse files
committed
purescript-font-lock.el: assume purescript-literate is always bound
Now that it's exported from a common location, there's no reason it shouldn't be (besides a bug of course).
1 parent 7ec3407 commit cd2ee96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

purescript-font-lock.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,13 +306,13 @@ Returns keywords suitable for `font-lock-keywords'."
306306

307307
;;;###autoload
308308
(defun purescript-font-lock-choose-keywords ()
309-
(cl-case (bound-and-true-p purescript-literate)
309+
(cl-case purescript-literate
310310
(bird purescript-font-lock-bird-literate-keywords)
311311
((latex tex) purescript-font-lock-latex-literate-keywords)
312312
(t purescript-font-lock-keywords)))
313313

314314
(defun purescript-font-lock-choose-syntactic-keywords ()
315-
(cl-case (bound-and-true-p purescript-literate)
315+
(cl-case purescript-literate
316316
(bird purescript-bird-syntactic-keywords)
317317
((latex tex) purescript-latex-syntactic-keywords)
318318
(t purescript-basic-syntactic-keywords)))

0 commit comments

Comments
 (0)