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

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

[elpa] externals/elpa 63f2208 030/139: Less obstrusive flymake stuff for


From: João Távora
Subject: [elpa] externals/elpa 63f2208 030/139: Less obstrusive flymake stuff for now
Date: Mon, 14 May 2018 09:53:29 -0400 (EDT)

branch: externals/elpa
commit 63f2208f0c61313f9eceb94219b4fab2ff84a373
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    Less obstrusive flymake stuff for now
    
    * eglot.el (eglot--after-change, eglot-flymake-backend): Fix.
---
 eglot.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index 9742f88..fe63a29 100644
--- a/eglot.el
+++ b/eglot.el
@@ -775,7 +775,8 @@ running.  INTERACTIVE is t if called interactively."
 (defun eglot--after-change (start end length)
   (cl-incf eglot--versioned-identifier)
   (push (list start end length) eglot--recent-changes)
-  (eglot--message "start is %s, end is %s, length is %s" start end length))
+  ;; (eglot--message "start is %s, end is %s, length is %s" start end length)
+  )
 
 (defun eglot--signalDidOpen ()
   (eglot--notify (eglot--current-process-or-lose)
@@ -816,6 +817,9 @@ running.  INTERACTIVE is t if called interactively."
     (setq eglot--recent-changes nil)))
 
 (defun eglot-flymake-backend (report-fn &rest _more)
+  "An EGLOT Flymake backend.
+Calls REPORT-FN maybe if server publishes diagnostics in time."
+  ;; FIXME: perhaps should call it immediately?
   (setq eglot--current-flymake-report-fn report-fn)
   (eglot--maybe-signal-didChange))
 



reply via email to

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