]> git.eshelyaron.com Git - emacs.git/commit
Don't break in indirect buffers
authorJoão Távora <joaotavora@gmail.com>
Sat, 1 Dec 2018 22:47:56 +0000 (22:47 +0000)
committerJoão Távora <joaotavora@gmail.com>
Sat, 1 Dec 2018 22:47:56 +0000 (22:47 +0000)
commit92ce9a30f1cfa8a974b9e40dec1126751aef1737
treec67898a96a702711878b0ccb919d19d2eecaa6f9
parentc515075fcb3d1bafed2dc881e059ba6bf1814f12
Don't break in indirect buffers

Indirect buffers, such as the ones created by ediff-regions-wordwise,
have eglot enabled but not buffer-file-name.  Resort to the finding
the file-name of the original buffer for these.

* eglot.el (eglot--TextDocumentIdentifier): Work in indirect
buffers.

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