summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-01-02 23:43:53 +0100
committerBastien Guerry <bzg@altern.org>2013-01-02 23:43:53 +0100
commitc1934ccfb4a9867681a16a8215d67a3a5966f511 (patch)
tree5a6c4d2d26989a0ac234104603ab9f338572f848
parent68acb955f1a16356e580c16210fec4c284ab7580 (diff)
downloadorg-mode-c1934ccfb4a9867681a16a8215d67a3a5966f511.tar.gz
org.el (org-fontify-meta-lines-and-blocks-1): Fix bug when fontifying keywords with no value
* org.el (org-fontify-meta-lines-and-blocks-1): Fix bug when fontifying keywords with no value.
-rw-r--r--lisp/org.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el
index cbba5f4..b75ab0e 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -5422,9 +5422,9 @@ by a #."
'(font-lock-fontified t invisible t)
'(font-lock-fontified t face org-document-info-keyword)))
(add-text-properties
- (match-beginning 6) (match-end 6)
+ (match-beginning 6) (1+ (match-end 6))
(if (string-equal dc1 "+title:")
- '(font-lock-fontified t face org-document-title)
+ '(font-lock-fontified t face org-document-title)
'(font-lock-fontified t face org-document-info))))
((or (equal dc1 "+results")
(member dc1 '("+begin:" "+end:" "+caption:" "+label:"