Fix some issues in the entity and subscript code
commit6bad6fc737e4a081ed2c9828195e9b65125846a0
authorCarsten Dominik <carsten.dominik@gmail.com>
Thu, 3 Jun 2010 22:13:19 +0000 (4 00:13 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Fri, 4 Jun 2010 06:25:50 +0000 (4 08:25 +0200)
tree5f691dcb3ff4a620568d59ee3e241a66fabfef8b
parent48dfb47f520301223e74e4bed92ebda224372ad0
Fix some issues in the entity and subscript code

* lisp/org-macs.el (org-rm-props): Add org-emphasis to the properties
that must be removed.
* lisp/org.el (org-do-emphasis-faces): Add org-emphasis property to
items that have emphasis done wit font-lock.
(org-fontify-entities): Do not do anything in commented lines.
(org-unfontify-region): Decompose the region as well, because we do
composition during font-lock.
(org-raise-scripts): Do nothing inside an emphasis string.

Reported by Eric Fraga in http://article.gmane.org/gmane.emacs.orgmode/25940
lisp/org-macs.el
lisp/org.el