]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix local function call in directory watcher ()
authorvjoki <vjoki@users.noreply.github.com>
Tue, 30 Apr 2019 09:35:24 +0000 (12:35 +0300)
committerJoão Távora <joaotavora@gmail.com>
Tue, 30 Apr 2019 09:35:24 +0000 (10:35 +0100)
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

index 06600e2e9714b5782ece13cde02f503b77df3329..ef0cb08342e4320a2843ee9c2e34af14703b5c37 100644 (file)
@@ -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)