Commit c2cd8e62 authored by Paul Eggert's avatar Paul Eggert

Fix byte-counting error in ‘format’

Problem reported by Paul Pogonyshev (Bug#38191).
* src/editfns.c (styled_format): When checking for adjacent
%-sequences, use byte position rather than character position.
* test/src/editfns-tests.el (format-properties): Test for fix.
parent 2241f7ca
Pipeline #4045 failed with stage
in 61 minutes and 30 seconds