diff options
| author | João Távora | 2023-03-23 09:02:18 +0000 |
|---|---|---|
| committer | João Távora | 2023-03-23 21:14:18 +0000 |
| commit | e19994fe8c000b0ed2dbc667cdec26cf54356907 (patch) | |
| tree | d4bd473847487f205cf8f3071546d1e4d9277e85 /java/org | |
| parent | 9b18407c7fd91313544acfb3457be5447987e20a (diff) | |
| download | emacs-e19994fe8c000b0ed2dbc667cdec26cf54356907.tar.gz emacs-e19994fe8c000b0ed2dbc667cdec26cf54356907.zip | |
ElDoc: rework rendering of echo area (bug#62029)
Previously, the display function 'eldoc-display-in-echo-area' reused
the same buffer as 'eldoc-display-in-doc-buffer', but that made it
harder to render documentation items differently depending on the
specific constraints of each display functions.
Allow documentation-generating backends to pass an :echo-area property
for tweaking the echo area display of certain documentation items.
* lisp/emacs-lisp/eldoc.el (eldoc-documentation-functions): Update docstring.
(eldoc--doc-buffer-docs): Remove.
(eldoc--format-doc-buffer): Simplify.
(eldoc--echo-area-render): New helper.
(eldoc-display-in-echo-area): Use 'eldoc--echo-area-render'.
Diffstat (limited to 'java/org')
0 files changed, 0 insertions, 0 deletions