]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix bug in workspace/didchangewatchedfiles
authorJoão Távora <joaotavora@gmail.com>
Tue, 15 Oct 2019 17:42:33 +0000 (18:42 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 15 Oct 2019 17:42:33 +0000 (18:42 +0100)
* eglot.el (eglot-register-capability): Fix a bug and a couple of
warnings.

lisp/progmodes/eglot.el

index 970f024db1bafb8583008e30024f2e047b8c30c8..f757a8ac4ff149ecc1f78d00267565be12161c85 100644 (file)
@@ -2415,8 +2415,8 @@ If SKIP-SIGNATURE, don't try to send textDocument/signatureHelp."
                                                    (changed 2)
                                                    (deleted 3)))))))
              ((eq action 'renamed)
-              (handle-event '(desc 'deleted file))
-              (handle-event '(desc 'created file1)))))))
+              (handle-event `(,desc 'deleted ,file))
+              (handle-event `(,desc 'created ,file1)))))))
       (unwind-protect
           (progn
            (dolist (dir glob-dirs)