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

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

[nongnu] elpa/dart-mode f35222d 057/192: Fix an error in the flymake hoo


From: ELPA Syncer
Subject: [nongnu] elpa/dart-mode f35222d 057/192: Fix an error in the flymake hook.
Date: Sun, 29 Aug 2021 11:01:50 -0400 (EDT)

branch: elpa/dart-mode
commit f35222dbc3a92190d04598487ee3c6e18c731380
Author: Nathan Weizenbaum <nweiz@google.com>
Commit: Nathan Weizenbaum <nweiz@google.com>

    Fix an error in the flymake hook.
    
    Closes #6
---
 dart-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dart-mode.el b/dart-mode.el
index a060c5b..e9c55eb 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -487,8 +487,8 @@ Each list item should be a regexp matching a single 
identifier.")
      (when (boundp 'flymake-warn-line-regexp)
        (add-hook 'dart-mode-hook
                  (lambda ()
-                   (setq (make-variable-buffer-local 'flymake-warn-line-regexp)
-                         "^WARNING|"))))
+                   (set (make-variable-buffer-local 'flymake-warn-line-regexp)
+                        "^WARNING|"))))
 
      (defadvice flymake-post-syntax-check (before 
flymake-post-syntax-check-dart activate)
        "Sets the exit code of the dart_analyzer process to 0.



reply via email to

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