diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-03-15 06:14:20 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-03-15 06:14:20 +0000 |
commit | 103ffad56800483993986d4b2119c750cf1f8763 (patch) | |
tree | 51879f22c3213cda6beb3029ce8f1f365919a234 /lisp/hilit19.el | |
parent | 75db9a6429d9a1f17f8ec5321ba80ef3f2366f18 (diff) | |
download | emacs-103ffad56800483993986d4b2119c750cf1f8763.tar.gz |
(LaTeX patterns): Don't match \( and \[ following a \.
Diffstat (limited to 'lisp/hilit19.el')
-rw-r--r-- | lisp/hilit19.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/hilit19.el b/lisp/hilit19.el index 2bf5f920a43..eca6d350f2e 100644 --- a/lisp/hilit19.el +++ b/lisp/hilit19.el @@ -1255,8 +1255,8 @@ number of backslashes." ("\\\\caption\\(\\[[^]]*\\]\\)?{" "}" label) ;; formulas - ("\\\\(" "\\\\)" formula) ; \( \) - ("\\\\\\[" "\\\\\\]" formula) ; \[ \] + ("[^\\]\\\\(" "\\\\)" formula) ; \( \) + ("[^\\]\\\\\\[" "\\\\\\]" formula) ; \[ \] ("[^$]\\($\\($[^$]*\\$\\|[^$]*\\)\\$\\)" 1 formula) ; '$...$' or '$$...$$' ;; things that bring in external files |