CVSROOT: /cvsroot/auctex Module name: auctex Changes by: Ralf Angeli <angeli> 10/12/12 16:01:07
Index: latex.el =================================================================== RCS file: /cvsroot/auctex/auctex/latex.el,v retrieving revision 5.462 retrieving revision 5.463 diff -u -b -r5.462 -r5.463 --- latex.el 5 Dec 2010 20:49:06 -0000 5.462 +++ latex.el 12 Dec 2010 16:01:06 -0000 5.463 @@ -1100,10 +1100,10 @@ (defun LaTeX-env-args (environment &rest args) "Insert ENVIRONMENT and arguments defined by ARGS." (LaTeX-insert-environment environment) - (let ((pos (point-marker))) - (end-of-line 0) - (TeX-parse-arguments args) - (goto-char pos))) + (save-excursion + (LaTeX-find-matching-begin) + (end-of-line) + (TeX-parse-arguments args))) ;;; Item hooks _______________________________________________ auctex-diffs mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex-diffs
