Revert "Fix strike-through fontification on heading"

This reverts commit 42abf5c695.
This commit is contained in:
Nicolas Goaziou 2019-05-30 14:19:09 +02:00
parent e4f5a194c7
commit 24555a0c00
1 changed files with 1 additions and 1 deletions

View File

@ -5821,7 +5821,7 @@ This should be called after the variable `org-link-parameters' has changed."
(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))))))
(pcase-let ((`(,_ ,face ,_) (assoc marker org-emphasis-alist))) (pcase-let ((`(,_ ,face ,_) (assoc marker org-emphasis-alist)))
(font-lock-append-text-property (font-lock-prepend-text-property
(match-beginning 2) (match-end 2) 'face face) (match-beginning 2) (match-end 2) 'face face)
(when verbatim? (when verbatim?
(org-remove-flyspell-overlays-in (org-remove-flyspell-overlays-in