mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-19 19:40:01 +00:00
Fix for displaying entities ending in a number
* lisp/org.el (org-fontify-entities): Fix bug: The entities \sup[123] and \there4 were not "prettified" when org-pretty-entities was enabled. TINYCHANGE
This commit is contained in:
parent
610a00ce2a
commit
bde1b2f942
|
@ -5966,7 +5966,7 @@ needs to be inserted at a specific position in the font-lock sequence.")
|
||||||
(when org-pretty-entities
|
(when org-pretty-entities
|
||||||
(catch 'match
|
(catch 'match
|
||||||
(while (re-search-forward
|
(while (re-search-forward
|
||||||
"\\\\\\(frac[13][24]\\|[a-zA-Z]+\\)\\($\\|{}\\|[^[:alpha:]\n]\\)"
|
"\\\\\\(there4\\|sup[123]\\|frac[13][24]\\|[a-zA-Z]+\\)\\($\\|{}\\|[^[:alpha:]\n]\\)"
|
||||||
limit t)
|
limit t)
|
||||||
(if (and (not (org-in-indented-comment-line))
|
(if (and (not (org-in-indented-comment-line))
|
||||||
(setq ee (org-entity-get (match-string 1)))
|
(setq ee (org-entity-get (match-string 1)))
|
||||||
|
|
Loading…
Reference in a new issue