diff --git a/haskell-align-imports.el b/haskell-align-imports.el index 7681856b1..f688631a8 100644 --- a/haskell-align-imports.el +++ b/haskell-align-imports.el @@ -223,8 +223,9 @@ "Are we after the imports list?" (save-excursion (goto-char (line-beginning-position)) - (not (not (search-forward-regexp "\\( = \\|\\\\| :: \\| ∷ \\)" - (line-end-position) t 1))))) + (let ((case-fold-search nil)) + (not (not (search-forward-regexp "\\( = \\|\\\\| :: \\| ∷ \\)" + (line-end-position) t 1)))))) (provide 'haskell-align-imports)