branch: externals/eglot
commit 195c311c843228b5cb163a84947816d0d90bdd80
Author: vjoki <vj...@users.noreply.github.com>
Commit: João Távora <joaotav...@gmail.com>

    Fix local function call in directory watcher (#255)
    
    Copyright-paperwork-exempt: yes
    
    * eglot.el (eglot-register-capability
    workspace/didChangeWatchFiles): fix call to handle-event.
---
 eglot.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eglot.el b/eglot.el
index 06600e2..ef0cb08 100644
--- a/eglot.el
+++ b/eglot.el
@@ -2367,8 +2367,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 (delete-dups (mapcar #'file-name-directory 
globs)))
                    (push (file-notify-add-watch dir '(change) #'handle-event)

Reply via email to