]> git.eshelyaron.com Git - emacs.git/commit
Use '…' for ellipsis in truncate-string-to-width by default (bug#41250)
authorJuri Linkov <juri@linkov.net>
Sun, 4 Oct 2020 19:41:36 +0000 (22:41 +0300)
committerJuri Linkov <juri@linkov.net>
Sun, 4 Oct 2020 19:41:36 +0000 (22:41 +0300)
commit5ec21155c39aab8a452d190a260e6912d1d9a920
tree7636d4f7cd8cd0e16c9bae69654b82f56fb421d4
parent96a8e846061f255b1a394a5854197aa742dfff84
Use '…' for ellipsis in truncate-string-to-width by default (bug#41250)

* lisp/international/mule-util.el (truncate-string-ellipsis):
Change the default value to nil.
(truncate-string-ellipsis): New function.
(truncate-string-to-width): Use the value returned from the
function 'truncate-string-ellipsis'.

* lisp/tab-bar.el (tab-bar-tab-name-truncated):
* lisp/tab-line.el (tab-line-tab-name-ellipsis):
Take advantage of the improvement of the ellipsis default value
in truncate-string-to-width and truncate-string-ellipsis.

* doc/lispref/display.texi (Size of Displayed Text):
Improve description of truncate-string-ellipsis.
doc/lispref/display.texi
etc/NEWS
lisp/international/mule-util.el
lisp/tab-bar.el
lisp/tab-line.el