0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 22:47:56 +00:00

Revert "Fix headline fontification"

This reverts commit 5873d99121.
This commit is contained in:
Nicolas Goaziou 2017-12-02 23:07:51 +01:00
parent ca43c1f262
commit 8bd9839952

View file

@ -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))
;; Do not span over paragraph boundaries.
(not (string-match-p org-element-paragraph-separate
(match-string 0)))
(match-string 2)))
;; Do not span over cells in table rows.
(not (and (save-match-data (org-match-line "[ \t]*|"))
(string-match-p "|" (match-string 4))))))