org.el: Fix bug in ̀org-fontify-meta-lines-and-blocks-1'

* org.el (org-fontify-meta-lines-and-blocks-1): Correctly
handle metalines with #+results[...]:.
This commit is contained in:
Bastien Guerry 2012-08-18 17:52:02 +02:00
parent f25baf9e1e
commit 90e9aeeff5
1 changed files with 2 additions and 1 deletions

View File

@ -5579,7 +5579,8 @@ by a #."
(if (string-equal dc1 "+title:")
'(font-lock-fontified t face org-document-title)
'(font-lock-fontified t face org-document-info))))
((or (member dc1 '("+begin:" "+end:" "+caption:" "+label:"
((or (equal dc1 "+results")
(member dc1 '("+begin:" "+end:" "+caption:" "+label:"
"+orgtbl:" "+tblfm:" "+tblname:" "+results:"
"+call:" "+header:" "+headers:" "+name:"))
(and (match-end 4) (equal dc3 "+attr")))