From: vjoki Date: Tue, 30 Apr 2019 09:35:24 +0000 (+0300) Subject: Fix local function call in directory watcher () X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~330 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9383a2cd5c7fb9883c087725ccb00de712aad58a;p=emacs.git 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 --- 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)