]> git.eshelyaron.com Git - emacs.git/commit
Prevent infloop in Eldoc message truncation algorithm
authorJoão Távora <joaotavora@gmail.com>
Thu, 9 Jul 2020 16:51:38 +0000 (17:51 +0100)
committerJoão Távora <joaotavora@gmail.com>
Thu, 9 Jul 2020 17:07:22 +0000 (18:07 +0100)
commitffb99d84900e47697c9f20a914e86d39e9bcd8b4
tree613cb3fc04b00a4ff0bfdf83066a0f90fb2340a7
parent19cf8e5be7c1b02dbc0831d8b64560533a59587c
Prevent infloop in Eldoc message truncation algorithm

The truncation algorithm still has a long way to go for very narrow
frame sizes.  It should become a generic mechanism that would allows
one to truncate a string so that fits in N possibly truncated screen
lines of a full-width window.

* lisp/emacs-lisp/eldoc.el (eldoc-handle-docs): Tweak
lisp/emacs-lisp/eldoc.el