This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU AUCTeX".
The branch, master has been updated via 0b857132d00afaa45737069bee3c9c1ddca2eacc (commit) from b1e4d46fce02ded77c5091b641fe370ee9d5cf61 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 0b857132d00afaa45737069bee3c9c1ddca2eacc Author: Arash Esbati <esb...@gmx.de> Date: Tue Jun 2 13:24:38 2015 +0200 Query for optional env arg * latex.el (LaTeX-auto-cleanup): Prepare so that an optional environment arg is also queried. Signed-off-by: Tassilo Horn <t...@gnu.org> diff --git a/ChangeLog b/ChangeLog index 3d570c6..4a0d590 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-06-02 Arash Esbati <esb...@gmx.de> + + * latex.el (LaTeX-auto-cleanup): Prepare so that an optional + environment arg is also queried. + 2015-06-01 Tassilo Horn <t...@gnu.org> * latex.el (LaTeX-auto-env-args-with-opt): New variable for diff --git a/latex.el b/latex.el index b869c5e..22aab5e 100644 --- a/latex.el +++ b/latex.el @@ -1691,10 +1691,10 @@ The value is actually the tail of the list of options given to PACKAGE." (list (nth 0 entry) (string-to-number (nth 1 entry))))) LaTeX-auto-env-args) - ;; Ditto for environments with optional args + ;; Ditto for environments with an optional arg (mapc (lambda (entry) (add-to-list 'LaTeX-auto-environment - (list (nth 0 entry) + (list (nth 0 entry) 'LaTeX-env-args (vector "argument") (1- (string-to-number (nth 1 entry)))))) LaTeX-auto-env-args-with-opt) ----------------------------------------------------------------------- Summary of changes: ChangeLog | 5 +++++ latex.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) hooks/post-receive -- GNU AUCTeX _______________________________________________ auctex-diffs mailing list auctex-di...@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-diffs