]> git.eshelyaron.com Git - emacs.git/commit
Again speed up directory watching
authorJoão Távora <joaotavora@gmail.com>
Wed, 26 May 2021 14:21:06 +0000 (15:21 +0100)
committerJoão Távora <joaotavora@gmail.com>
Wed, 26 May 2021 14:21:06 +0000 (15:21 +0100)
commit78e994d85517ab0d0f2c053b5e6c3598bdfe7718
tree0fa98bbc1a48fe83687e07e34904d434afa8f7f2
parent712cf71d9d1b05ea699f6a1a172dc8eefe1efbbf
Again speed up directory watching

Previously, given a number of globs, Eglot would try to place system
watchers only in those subdirectories that could potentially be
matched by a glob.  This meant traversing the whole tree, which could
be impractical.  Just place watchers in every subdirectory of the
project (you may run out of watchers).

* eglot.el (eglot-register-capability): Simplify.
(eglot--files-recursively): Delete.
(eglot--directories-recursively): Fix.

GitHub-reference: fix https://github.com/joaotavora/eglot/issues/697
GitHub-reference: fix https://github.com/joaotavora/eglot/issues/645
lisp/progmodes/eglot.el