aboutsummaryrefslogtreecommitdiffstats
path: root/exec
diff options
context:
space:
mode:
authorJoão Távora2023-04-13 11:46:12 +0100
committerJoão Távora2023-04-13 17:42:37 +0100
commit83b5e9cd24ddcbb04dbd5db9a07248ff7fa301ab (patch)
treec0fc669c634cd2e205f553573679e78f21bbbe5c /exec
parenta74403adda0d67b6f0430d1c038a7c96579f3450 (diff)
downloademacs-83b5e9cd24ddcbb04dbd5db9a07248ff7fa301ab.tar.gz
emacs-83b5e9cd24ddcbb04dbd5db9a07248ff7fa301ab.zip
Eldoc: don't overdisplay if using eldoc-documentation-compose
bug#62816 This is about a particular value for 'eldoc-documentation-strategy', 'eldoc-documentation-compose'. Its helper 'eldoc--documentation-compose-1' was buggy. It created the callback for all the backends in 'eldoc-documentation-functions', but arranged so that it could potentially be invoked immediately and trigger display, half-defeating the purpose of the "patience" and causing blinking in the echo area. Now it creates all the callbacks beforehand and only then passes them to the corresponding members of eldoc-documentation-functions. This sets up the correct state in eldoc--invoke-strategy. * lisp/emacs-lisp/eldoc.el (eldoc--documentation-compose-1): Delete. (eldoc-documentation-compose) (eldoc-documentation-compose-eagerly): Rework.
Diffstat (limited to 'exec')
0 files changed, 0 insertions, 0 deletions