Mercurial > emacs
changeset 6364:59663885e8c7
(LaTeX patterns): Don't match \( and \[ following a \.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 15 Mar 1994 06:14:20 +0000 |
parents | e5d9ea7852bf |
children | a1b8926f7ece |
files | lisp/hilit19.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/hilit19.el Tue Mar 15 05:12:14 1994 +0000 +++ b/lisp/hilit19.el Tue Mar 15 06:14:20 1994 +0000 @@ -1255,8 +1255,8 @@ ("\\\\caption\\(\\[[^]]*\\]\\)?{" "}" label) ;; formulas - ("\\\\(" "\\\\)" formula) ; \( \) - ("\\\\\\[" "\\\\\\]" formula) ; \[ \] + ("[^\\]\\\\(" "\\\\)" formula) ; \( \) + ("[^\\]\\\\\\[" "\\\\\\]" formula) ; \[ \] ("[^$]\\($\\($[^$]*\\$\\|[^$]*\\)\\$\\)" 1 formula) ; '$...$' or '$$...$$' ;; things that bring in external files