summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/eldoc.el
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2023-02-22 18:05:00 +0000
committerJoão Távora <joaotavora@gmail.com>2023-02-22 18:25:11 +0000
commitea7251ad6dfe3cfbdcea221a67c7b7d4fcbfebfa (patch)
tree7f55950534c98416378231fc6b732a3f28c14f1e /lisp/emacs-lisp/eldoc.el
parent6016f1982d34a88f626c9fcbeef51040d39d5f9f (diff)
downloademacs-ea7251ad6dfe3cfbdcea221a67c7b7d4fcbfebfa.tar.gz
emacs-ea7251ad6dfe3cfbdcea221a67c7b7d4fcbfebfa.tar.bz2
emacs-ea7251ad6dfe3cfbdcea221a67c7b7d4fcbfebfa.zip
Eglot: go back to setting eldoc-documentation-strategy again
This commits reverts part of commit e83c78b8c7784254c2c6f043530ab325c2fa7f16 Author: João Távora <joaotavora@gmail.com> Date: Mon Feb 20 22:43:50 2023 +0000 Eglot: respect user's Eldoc configuration by default In that commit, I did what many longstanding issues and users were suggesting and removed Eglot's override of two Eldoc user configuration varibles. I verified that Eglot's behaviour would stay mostly unaltered but my tests were very incomplete. In short there is no way that Eglot can work acceptably with the default setting of 'eldoc-documentation-strategy', which is 'eldoc-documentation-default'. So it must be changed, either globally or locally in Eglot's minor mode. This is true for any situation where both synchronous and asynchronous documentation sources are present. In Eglot's case there are two asynchronous sources which have more importance than the synchronous source. So any other strategy except the 'eldoc-documentation-default' makes sense. * lisp/progmodes/eglot.el (eglot--managed-mode): Set eldoc-documentation-strategy to eldoc-documentation-compose.
Diffstat (limited to 'lisp/emacs-lisp/eldoc.el')
0 files changed, 0 insertions, 0 deletions