>From 341a2c2838ec1ead3c463e1a06d3b75863c0a34a Mon Sep 17 00:00:00 2001 From: Arash Esbati
Date: Sun, 19 Jul 2015 14:30:53 +0200 Subject: [PATCH 7/7] Query for default first arg when (re-)defining env's. --- ChangeLog | 3 +++ latex.el | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 32bd62d..1825cd7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2015-07-18 Arash Esbati + * latex.el (LaTeX-common-initialization): Query for the default + value of first arg when (re-)defining new environments. + * Makefile.in (STYLESRC): Add new style. * style/vwcol.el: New file. diff --git a/latex.el b/latex.el index 22aab5e..0fb1641 100644 --- a/latex.el +++ b/latex.el @@ -6227,6 +6227,10 @@ i.e. you do _not_ have to cater for this yourself by adding \\\\' or $." [ "Number of arguments" ] [ "Default value for first argument" ] t) '("renewcommand*" TeX-arg-macro [ "Number of arguments" ] [ "Default value for first argument" ] t) + '("newenvironment" TeX-arg-define-environment + [ "Number of arguments" ] [ "Default value for first argument" ] t t) + '("renewenvironment" TeX-arg-environment + [ "Number of arguments" ] [ "Default value for first argument" ] t t) '("usepackage" LaTeX-arg-usepackage) '("RequirePackage" LaTeX-arg-usepackage) '("ProvidesPackage" (TeX-arg-file-name-sans-extension "Package name") -- 2.4.5