3 Eldoc displays the function signature of the closest function call
4 around point either in the minibuffer or in the modeline. This
5 package modifies Eldoc to display this documentation inline using a
8 `eldoc-overlay-mode` is a per-buffer minor mode.
9 A call to `eldoc-overlay-enable` turns it on.
10 A call to `eldoc-overlay-disable` turns it off
12 <kbd>C-x C-h</kbd> interactively calls `eldoc-overlay-toggle` and tells
13 you the mode's new state.
15 `global-eldoc-overlay-mode` can be used to toggle this for all buffers.
16 A call to `global-eldoc-overlay-enable` turns it on.
17 A call to `global-eldoc-overlay-disable` turns it off
19 <kbd>C-u C-x C-h</kbd> interactively calls `global-eldoc-overlay-toggle` and tells
20 you the mode's new state.
22 By default, the overlay is not used in the minibuffer, eldoc is shown in the modeline
23 in this case. Set the option `eldoc-overlay-in-minibuffer-flag` non-nil if you want
24 to enable overlay use in the minibuffer.
26 The key used to toggle the mode can be customized by setting the `eldoc-overlay-key`
32 (use-package eldoc-overlay
35 (global-eldoc-overlay-mode 1))
40 Eldoc displays the function signature of the closest function call around point
41 either in the minibuffer or in the modeline.
43 This package modifies Eldoc to display this documentation inline using a buffer
46 - `eldoc-overlay-mode` is a per-buffer minor mode.
47 - A call to `eldoc-overlay-enable' turns it on.
48 - A call to `eldoc-overlay-disable' turns it off
50 {C-x C-h} interactively calls `eldoc-overlay-toggle' and tells you the mode's
53 - `global-eldoc-overlay-mode' can be used to toggle this for all buffers.
54 - A call to `global-eldoc-overlay-enable' turns it on.
55 - A call to `global-eldoc-overlay-disable' turns it off
57 {C-u C-x C-h} interactively calls `global-eldoc-overlay-toggle` and tells you
60 By default, the overlay is not used in the minibuffer, eldoc is shown in the
61 modeline in this case. Set the option `eldoc-overlay-in-minibuffer-flag` non-nil
62 if you want to enable overlay use in the minibuffer.
64 The key used to toggle the mode can be customized by setting the
65 `eldoc-overlay-key` option.
67 Finally, see the documentation for `eldoc-overlay-backend` if you want to try a
68 different overlay display package backend.
72 ## break backward compatible upgrading changes
75 This source code originally came from an answer to [justbur](https://emacs.stackexchange.com/users/14114/justbur)
76 of this [question](https://emacs.stackexchange.com/questions/29256/display-eldoc-help-info-behind-point).
80 ![eldoc-overlay screenshot](eldoc-overlay.png)