]> git.eshelyaron.com Git - emacs.git/commit
Show large docs in help buffer instead of echo are by default
authorJoão Távora <joaotavora@gmail.com>
Sat, 5 Jan 2019 22:47:43 +0000 (22:47 +0000)
committerJoão Távora <joaotavora@gmail.com>
Sat, 5 Jan 2019 22:48:49 +0000 (22:48 +0000)
commitaedb0d33de82595822a6fe56f40fdf608adc37c7
treed8b8b6fc3828fea6dcbaef32c30fbfab68431c2e
parentf399be6d122d9f23da8a13df8050f213c0617369
Show large docs in help buffer instead of echo are by default

* eglot.el (eglot--managed-mode): Add and remove from eglot--eldoc-message
(eglot--eldoc-hint, eglot--help-buffer): New helpers.
(eglot-eldoc-extra-buffer)
(eglot-auto-display-eldoc-extra-buffer): New defcustoms.
(eglot--eldoc-message): New helper.
(eglot-eldoc-function): Set eglot--eldoc-hint.
(eglot-help-at-point): Use new helpers.
(eglot-eldoc-extra-buffer-if-too-large): New predicate.

GitHub-reference: per https://github.com/joaotavora/eglot/issues/198
lisp/progmodes/eglot.el