summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2019-04-27 18:52:57 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2019-04-27 18:52:57 +0200
commit42abf5c6954dee8410e33d0c5140d3b36c9d1c15 (patch)
tree1ccf2a45b79e6f614e1146ec423beca2f420383e
parent4ec550fd5aa9629ff145739247a938ea90b3a473 (diff)
downloadorg-mode-42abf5c6954dee8410e33d0c5140d3b36c9d1c15.tar.gz
Fix strike-through fontification on heading
* lisp/org.el (org-do-emphasis-faces): Fix face priority.
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 5f74603..d5cb5bb 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -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]*|"))
(string-match-p "|" (match-string 4))))))
(pcase-let ((`(,_ ,face ,_) (assoc marker org-emphasis-alist)))
- (font-lock-prepend-text-property
+ (font-lock-append-text-property
(match-beginning 2) (match-end 2) 'face face)
(when verbatim?
(org-remove-flyspell-overlays-in