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

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

[elpa] externals/eglot 7b0d845 17/22: Close #195: remove a hard dependen


From: João Távora
Subject: [elpa] externals/eglot 7b0d845 17/22: Close #195: remove a hard dependency on flymake-mode
Date: Sat, 5 Jan 2019 09:31:04 -0500 (EST)

branch: externals/eglot
commit 7b0d8459b17b258639dbae9ca6950368ab42bc9d
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    Close #195: remove a hard dependency on flymake-mode
    
    * eglot.el (eglot-handle-notification): Don't specifically check for
    flymake-mode before reporting diagnostics.
---
 eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index a335f16..2411c6a 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1405,7 +1405,7 @@ COMMAND is a symbol naming the command."
                                              (t          'eglot-note))
                                        message `((eglot-lsp-diag . 
,diag-spec)))))
          into diags
-         finally (cond ((and flymake-mode eglot--current-flymake-report-fn)
+         finally (cond (eglot--current-flymake-report-fn
                         (funcall eglot--current-flymake-report-fn diags
                                  ;; If the buffer hasn't changed since last
                                  ;; call to the report function, flymake won't



reply via email to

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