瀏覽代碼

Revert "Fix strike-through fontification on heading"

This reverts commit 42abf5c6954dee8410e33d0c5140d3b36c9d1c15.
Nicolas Goaziou 5 年之前
父節點
當前提交
24555a0c00
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org.el

+ 1 - 1
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-append-text-property
+	      (font-lock-prepend-text-property
 	       (match-beginning 2) (match-end 2) 'face face)
 	      (when verbatim?
 		(org-remove-flyspell-overlays-in