bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32404: Format fails to copy text properties from the format-string f


From: Andrea Cardaci
Subject: bug#32404: Format fails to copy text properties from the format-string for adjacent %-sequences
Date: Thu, 9 Aug 2018 02:30:55 +0200

Basically what the title says, take a look at this example:

(format (concat (propertize "%s" 'face 'bold)
                "" ; any non-empty string works
                (propertize "%s" 'face 'error))
        "foo" "bar")
#("foobar" 0 6 (face bold))

This has also been described at https://emacs.stackexchange.com/q/43960/13744


Andrea





reply via email to

[Prev in Thread] Current Thread [Next in Thread]