Browse Source

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.
Bastien Guerry 5 years ago
parent
commit
001b6d1ebd
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lisp/org.el

+ 2 - 1
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:"