Use font-lock-append-text-property to apply org-src faces
commitb7dd0e85110b983252ebe35fc07f3ef0f81edf61
authorClément Pit--Claudel <clement.pitclaudel@live.com>
Sun, 7 Aug 2016 18:59:05 +0000 (7 14:59 -0400)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 8 Aug 2016 09:00:54 +0000 (8 11:00 +0200)
tree7ae37e7e9c34e26601b925db63578cab16ffb4d7
parentb1f1f35049b8b877aaeef87adbb4320555116106
Use font-lock-append-text-property to apply org-src faces

* lisp/org-src.el (org-src-font-lock-fontify-block): Replace anonymous
  faces with inheritance by lists of faces constructed by
  `font-lock-add-text-property`.  This properly deals with cases when
  the source buffer's `face' property is already a list.
lisp/org-src.el