emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/haskell-mode 43b4036bf0 4/4: Merge pull request #1835 from


From: ELPA Syncer
Subject: [nongnu] elpa/haskell-mode 43b4036bf0 4/4: Merge pull request #1835 from haskell/issue-1834
Date: Tue, 16 Jan 2024 13:00:16 -0500 (EST)

branch: elpa/haskell-mode
commit 43b4036bf02b02de75643a1a2a31e28efac1c50b
Merge: 3e8ff53576 37a3de85ae
Author: Steve Purcell <steve@sanityinc.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #1835 from haskell/issue-1834
    
    Fix #1834: remove bad regex that was supposed to recognize a LANGUAGE 
suggestion
---
 haskell-load.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/haskell-load.el b/haskell-load.el
index 230d8f608a..0b431c98d3 100644
--- a/haskell-load.el
+++ b/haskell-load.el
@@ -205,7 +205,8 @@ list of modules where missed IDENT was found."
             (string-match
              "Use \\([A-Z][A-Za-z]+\\) if you want to disable this"
              msg)
-            (string-match "use \\([A-Z][A-Za-z]+\\)" msg)
+            (and (string-match "use \\([A-Z][A-Za-z]+\\)" msg)
+                 (not (string-match "refactoring to use" msg)))
             (string-match "You need \\([A-Z][A-Za-z]+\\)" msg)))
          (when haskell-process-suggest-language-pragmas
            (haskell-process-suggest-pragma



reply via email to

[Prev in Thread] Current Thread [Next in Thread]