]> code.delx.au - gnu-emacs/commit
Minor tweaks of copying text properties when padding strings
authorEli Zaretskii <eliz@gnu.org>
Sat, 9 Jul 2016 08:01:17 +0000 (11:01 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 9 Jul 2016 08:01:17 +0000 (11:01 +0300)
commit0a2aedfe6d650e825a50f25f972bac20d669f5cb
tree28e53a5fc20ec6531b6f5179a09d4f503e317345
parente52ad7fdfc7148a75897c92588712169894f7a5c
Minor tweaks of copying text properties when padding strings

* src/editfns.c (styled_format): Don't include padding on the left
in the properties at the beginning of the string.  (Bug#23897)

* test/src/editfns-tests.el (format-properties): Add tests for
faces when the string is padded on the left or on the right.
src/editfns.c
test/src/editfns-tests.el