Subject: Re: bug#45520: 28.0.50; mode-line-compact doesn't do text properties

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 29 Dec 2020 05:18:01 +0100

Lars Ingebrigtsen <[email-masked]> writes:

> I thought the issue was with `format-mode-line', but that function does
> return text properties as ordered (I think).  Instead the issue is that
> display_string doesn't do anything with the text properties?

OK, that was trivial to fix, so now the snippet that shortens the mode
line text just has to be amended to do the work on the Lisp_Object
string instead (so that text properties are preserved).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no