]> git.eshelyaron.com Git - emacs.git/commit
ElDoc: remember origin backend in doc snippets (bug#62029)
authorJoão Távora <joaotavora@gmail.com>
Wed, 22 Mar 2023 13:35:43 +0000 (13:35 +0000)
committerJoão Távora <joaotavora@gmail.com>
Thu, 23 Mar 2023 21:14:15 +0000 (21:14 +0000)
commit9b18407c7fd91313544acfb3457be5447987e20a
tree78c6820124d37f60955cfa258ffaf74efa27edb8
parent0effdb29d6db4d5d13b09d82db3a681b8501b9d5
ElDoc: remember origin backend in doc snippets (bug#62029)

This lays groundwork for discriminating between different
documentation providers in ElDoc display outlets, i.e. members
of eldoc-display-functions

* lisp/emacs-lisp/eldoc.el (eldoc--make-callback): Take extra origin arg.
(eldoc-documentation-compose-1)
(eldoc-documentation-compose-eagerly)
(eldoc-documentation-default): Pass extra arg to eglot--make-callback.
(eldoc--invoke-strategy): Rework.
(eldoc-documentation-functions): Work docstring.
lisp/emacs-lisp/eldoc.el