]> git.eshelyaron.com Git - emacs.git/commit
Don't strip invisible text when formatting hover string
authorAugusto Stoffel <arstoffel@gmail.com>
Thu, 10 Mar 2022 11:32:20 +0000 (12:32 +0100)
committerGitHub <noreply@github.com>
Thu, 10 Mar 2022 11:32:20 +0000 (11:32 +0000)
commitcb562118cb14d8bb71140a07232107d83bbbf6d9
treea551c0757c9d8202b5d1435c34b5813efe6f5c97
parent85ecf46a18c05d4182af3e3a11a8fadd421a28d0
Don't strip invisible text when formatting hover string

This was introduced in https://github.com/joaotavora/eglot/issues/482 due to a bad interaction with a specific
server.  But this solution makes hyperlinks in Eldoc buffers
unclickable, because the markdown-mode function that visits a link
relies on the invisible text.

Per https://github.com/joaotavora/eglot/issues/866

* eglot.el (eglot--format-markup): Use buffer-string instead of
filter-buffer-substring

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