From 001b6d1ebdd6e55097e60d4862c9baf98718a002 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Mon, 31 Dec 2012 11:29:17 +0100 Subject: [PATCH] org.el (org-fontify-meta-lines-and-blocks-1): Fix fontification bug * org.el (org-fontify-meta-lines-and-blocks-1): Fix fontification bug when fontifying a keyword with no associated value. --- lisp/org.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index a780fa392..036409bdd 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5417,7 +5417,8 @@ by a #." (match-beginning 6) (match-end 6) (if (string-equal dc1 "+title:") '(font-lock-fontified t face org-document-title) - '(font-lock-fontified t face org-document-info)))) + '(font-lock-fontified t face org-document-info))) + (org-rear-nonsticky-at (match-end 0))) ((or (equal dc1 "+results") (member dc1 '("+begin:" "+end:" "+caption:" "+label:" "+orgtbl:" "+tblfm:" "+tblname:" "+results:" -- 2.11.4.GIT