]> git.eshelyaron.com Git - emacs.git/commit
Make eldoc-echo-area-prefer-doc-buffer consider all frames
authorJoão Távora <joaotavora@gmail.com>
Tue, 19 Jul 2022 23:35:08 +0000 (00:35 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 19 Jul 2022 23:35:18 +0000 (00:35 +0100)
commit3c539cb5b3a650276e946895b2bf0ceb372a8983
treebc0d3cab8dbd7dfe5ee9ac446aa4011ee4a43cf0
parent5f64ba0efbfcbb6dc44add191427aca504b4c3cd
Make eldoc-echo-area-prefer-doc-buffer consider all frames

Previously, it considered only windows on 'visible' frames (according
to get-buffer-window).  This seemed correct at first, but it's not
much use for multiple TTY frames and not particularly reliable on GUI
frames either.  There's no reliable way to tell what is actually
visible, so it's best to assume that users setup frames that are
indeed visible when using this parameter.

* lisp/emacs-lisp/eldoc.el (eldoc--echo-area-prefer-doc-buffer-p):
Consider all frames.
lisp/emacs-lisp/eldoc.el