Fix headline fontification
* lisp/org.el (org-do-emphasis-faces): Do not emphasize stars in headlines. Reported-by: swflint@flintfam.org (Samuel W. Flint) <http://lists.gnu.org/r/emacs-orgmode/2017-11/msg00363.html>
This commit is contained in:
parent
adfbfd42b2
commit
5873d99121
|
@ -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 2)))
|
||||
(match-string 0)))
|
||||
;; Do not span over cells in table rows.
|
||||
(not (and (save-match-data (org-match-line "[ \t]*|"))
|
||||
(string-match-p "|" (match-string 4))))))
|
||||
|
|
Loading…
Reference in New Issue