diff options
author | Mark Shoulson <mark@kli.org> | 2012-05-23 20:17:40 -0400 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-05-25 16:56:57 +0200 |
commit | 4e4e161f8f1563a1dabbef5e721f17acec2ddaf7 (patch) | |
tree | 0db7d6e03447c196c687efedcf3c58be1f49b61f | |
parent | 35b9556cc399e4405a4baa9514f0993b03f318e6 (diff) | |
download | org-mode-4e4e161f8f1563a1dabbef5e721f17acec2ddaf7.tar.gz |
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
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index fd5250a..b3ae935 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5917,7 +5917,7 @@ needs to be inserted at a specific position in the font-lock sequence.") (when org-pretty-entities (catch 'match (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) (if (and (not (org-in-indented-comment-line)) (setq ee (org-entity-get (match-string 1))) |