Skip to content

Commit edb29fe

Browse files
committed
Font lock: font-lock-syntactic-keywords is always defined.
1 parent a4b8427 commit edb29fe

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

haskell-font-lock.el

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -282,17 +282,6 @@ Returns keywords suitable for `font-lock-keywords'."
282282
(,sym 0 (if (eq (char-after (match-beginning 0)) ?:)
283283
haskell-constructor-face
284284
haskell-operator-face))))
285-
(unless (boundp 'font-lock-syntactic-keywords)
286-
(cl-case literate
287-
(bird
288-
(setq keywords
289-
`(("^[^>\n].*$" 0 haskell-comment-face t)
290-
,@keywords
291-
("^>" 0 haskell-default-face t))))
292-
((latex tex)
293-
(setq keywords
294-
`((haskell-font-lock-latex-comments 0 'font-lock-comment-face t)
295-
,@keywords)))))
296285
keywords))
297286

298287
(defvar haskell-font-lock-latex-cache-pos nil

0 commit comments

Comments
 (0)