Index: auctex/tex.el
diff -u auctex/tex.el:5.534 auctex/tex.el:5.535
--- auctex/tex.el:5.534 Wed Aug 17 08:49:15 2005
+++ auctex/tex.el Tue Aug 23 07:53:40 2005
@@ -4222,7 +4222,9 @@
(if (looking-at regexp)
(throw 'done t)
(up-list -1))))
- (goto-char (TeX-find-macro-end))
+ ;; Use stripped syntax table in order to get stuff like "\emph{(}" right.
+ (with-syntax-table TeX-search-syntax-table
+ (forward-sexp 2))
(save-excursion
(replace-match start t t))
(delete-backward-char 1)
_______________________________________________
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs