]> git.eshelyaron.com Git - emacs.git/commit
Stop splicing anonymous faces in font-lock-append-text-property
authorKévin Le Gouguec <kevin.legouguec@gmail.com>
Sun, 12 May 2019 16:36:09 +0000 (18:36 +0200)
committerNoam Postavsky <npostavs@gmail.com>
Tue, 14 May 2019 00:41:02 +0000 (20:41 -0400)
commit59ad303e8f3bb174ce326c76a9e7649f602120db
tree596dae129b3e32c38b6f9b1c003b0005e62ddf10
parent364d4e156d80bff711d000bdb2e0ac765726c953
Stop splicing anonymous faces in font-lock-append-text-property

This is the same fix as 2019-04-29 "Refrain from splicing anonymous
faces in text properties", which was only applied to
font-lock-prepend-text-property.

* lisp/font-lock.el (font-lock-append-text-property): Distinguish list
of faces from property list.
* test/lisp/font-lock-tests.el: New test suite.

(Bug#35476)
lisp/font-lock.el
test/lisp/font-lock-tests.el [new file with mode: 0644]