From f60879a99de1ae32ddf786c81045a09214129d7a Mon Sep 17 00:00:00 2001 From: Bryan Garza Date: Mon, 9 Mar 2015 18:27:18 -0700 Subject: [PATCH] Fix font-lock-warning-face regular expression The regular expression was incorrectly matching `=======` without a space afterwards, so headings were being incorrectly colored as warnings. --- haskell-font-lock.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haskell-font-lock.el b/haskell-font-lock.el index 097e9ad0c..2df19b805 100644 --- a/haskell-font-lock.el +++ b/haskell-font-lock.el @@ -372,7 +372,7 @@ Returns keywords suitable for `font-lock-keywords'." `(;; NOTICE the ordering below is significant ;; ("^<<<<<<< .*$" 0 'font-lock-warning-face t) - ("^=======" 0 'font-lock-warning-face t) + ("^======= .*$" 0 'font-lock-warning-face t) ("^>>>>>>> .*$" 0 'font-lock-warning-face t) ("^#.*$" 0 'font-lock-preprocessor-face t)