Browse Source

Revert "Fix headline fontification"

This reverts commit 5873d9912145fb19d00cfa47587f8e16c59da56a.
Nicolas Goaziou 7 years ago
parent
commit
8bd9839952
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -5762,7 +5762,7 @@ This should be called after the variable `org-link-parameters' has changed."
 		   (looking-at (if verbatim? org-verbatim-re org-emph-re))
 		   (looking-at (if verbatim? org-verbatim-re org-emph-re))
 		   ;; Do not span over paragraph boundaries.
 		   ;; Do not span over paragraph boundaries.
 		   (not (string-match-p org-element-paragraph-separate
 		   (not (string-match-p org-element-paragraph-separate
-					(match-string 0)))
+					(match-string 2)))
 		   ;; Do not span over cells in table rows.
 		   ;; Do not span over cells in table rows.
 		   (not (and (save-match-data (org-match-line "[ \t]*|"))
 		   (not (and (save-match-data (org-match-line "[ \t]*|"))
 			     (string-match-p "|" (match-string 4))))))
 			     (string-match-p "|" (match-string 4))))))