From 9383a2cd5c7fb9883c087725ccb00de712aad58a Mon Sep 17 00:00:00 2001 From: vjoki Date: Tue, 30 Apr 2019 12:35:24 +0300 Subject: [PATCH] Fix local function call in directory watcher () Copyright-paperwork-exempt: yes * eglot.el (eglot-register-capability workspace/didChangeWatchFiles): fix call to handle-event. GitHub-reference: https://github.com/joaotavora/eglot/issues/255 --- lisp/progmodes/eglot.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 06600e2e971..ef0cb08342e 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/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) -- 2.39.2