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 | 515469affd86d0116a8ff3969a07658c97894eea (patch) | |
tree | 18058bc13d002c9a823dd409e2db47333234a8bf /lisp/hilit19.el | |
parent | f7958c114ac8d4e8a744cbae914b7fca13fd5463 (diff) | |
download | emacs-515469affd86d0116a8ff3969a07658c97894eea.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 |