summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-01-27 08:21:47 (GMT)
committer Bastien Guerry <bzg@altern.org>2013-01-27 08:21:47 (GMT)
commit9b4b890da271aad513b60e55b8e2c9f7f22bdbb9 (patch)
treea741a52301ffe979173e1767b576440dc53e47df
parentf52600a43908d5b246901780b9a761e477ec5604 (diff)
parent08c2938e7db0ae65b104759d74d67566b0d5c66f (diff)
downloadorg-mode-9b4b890da271aad513b60e55b8e2c9f7f22bdbb9.zip
org-mode-9b4b890da271aad513b60e55b8e2c9f7f22bdbb9.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index a9285ee..ede9e59 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -5590,7 +5590,7 @@ by a #."
'(font-lock-fontified t invisible t)
'(font-lock-fontified t face org-document-info-keyword)))
(add-text-properties
- (match-beginning 6) (1+ (match-end 6))
+ (match-beginning 6) (min (point-max) (1+ (match-end 6)))
(if (string-equal dc1 "+title:")
'(font-lock-fontified t face org-document-title)
'(font-lock-fontified t face org-document-info))))