]> git.eshelyaron.com Git - emacs.git/commit
Keep information about originating backend in ElDoc doc snippets
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 13:47:55 +0000 (13:47 +0000)
commitb8357df072a93ab80931931673dc35de64fb4067
treea492f84241c5e03d7244e858c61d6abaa70f4bcc
parent117a29fd1889591d01e1bb5ede4eec9526a482ad
Keep information about originating backend in ElDoc doc snippets

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.
lisp/emacs-lisp/eldoc.el