org: fontify #+header lines

* lisp/org.el (org-fontify-meta-lines-and-blocks-1): Include header
  lines.
  (org-additional-option-like-keywords): Include data as a synonym for
  results.
This commit is contained in:
Eric Schulte 2011-07-01 13:12:03 -07:00
parent 6ddad0a91a
commit ca4472063a
1 changed files with 3 additions and 2 deletions

View File

@ -5248,7 +5248,8 @@ will be prompted for."
t)
((or (member dc1 '("begin:" "end:" "caption:" "label:"
"orgtbl:" "tblfm:" "tblname:" "result:"
"results:" "source:" "srcname:" "call:"))
"results:" "source:" "srcname:" "call:"
"data:" "header:" "headers:"))
(and (match-end 4) (equal dc3 "attr")))
(add-text-properties
beg (match-end 0)
@ -10754,7 +10755,7 @@ This function can be used in a hook."
"BEGIN_SRC" "END_SRC"
"BEGIN_RESULT" "END_RESULT"
"SOURCE:" "SRCNAME:" "FUNCTION:"
"RESULTS:"
"RESULTS:" "DATA:"
"HEADER:" "HEADERS:"
"BABEL:"
"CATEGORY:" "COLUMNS:" "PROPERTY:"