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

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

[elpa] externals/eglot 96169d8 18/26: Per #173: fix bug introduced by pr


From: João Távora
Subject: [elpa] externals/eglot 96169d8 18/26: Per #173: fix bug introduced by previous fix
Date: Sun, 9 Dec 2018 19:11:28 -0500 (EST)

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

    Per #173: fix bug introduced by previous fix
    
    * eglot.el (eglot--CompletionParams): Don't use last-input-event.
---
 eglot.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eglot.el b/eglot.el
index 578a90d..3bb93dc 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1399,7 +1399,7 @@ THINGS are either registrations or unregisterations."
    (eglot--TextDocumentPositionParams)
    `(:context
      ,(if-let (trigger (and (characterp eglot--last-inserted-char)
-                            (cl-find last-input-event
+                            (cl-find eglot--last-inserted-char
                                      (eglot--server-capable :completionProvider
                                                             :triggerCharacters)
                                      :key (lambda (str) (aref str 0))
@@ -2116,8 +2116,8 @@ If SKIP-SIGNATURE, don't try to send 
textDocument/signatureHelp."
                          (keyboard-quit)
                        retval)))))
     (eglot--dcase action
-      (((Command) command arguments)
-       (eglot-execute-command server (intern command) arguments))
+        (((Command) command arguments)
+         (eglot-execute-command server (intern command) arguments))
       (((CodeAction) edit command)
        (when edit (eglot--apply-workspace-edit edit))
        (when command



reply via email to

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