Explorar o código

Fix strike-through fontification on heading

* lisp/org.el (org-do-emphasis-faces): Fix face priority.
Kévin Le Gouguec %!s(int64=6) %!d(string=hai) anos
pai
achega
42abf5c695
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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-prepend-text-property
+	      (font-lock-append-text-property
 	       (match-beginning 2) (match-end 2) 'face face)
 	      (when verbatim?
 		(org-remove-flyspell-overlays-in