[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 115/299: Document LaTeX-default-document-environment.

From: Stefan Monnier
Subject: [elpa] 115/299: Document LaTeX-default-document-environment.
Date: Sun, 02 Nov 2014 03:10:44 +0000

monnier pushed a commit to branch externals/auctex
in repository elpa.

commit 09f9140353bef4d87eddba3e073f14c6b7c3eba6
Author: Mosè Giordano <address@hidden>
Date:   Wed May 8 01:15:12 2013 +0200

    Document LaTeX-default-document-environment.
    * doc/auctex.texi (Environments): Document
 ChangeLog       |    5 +++++
 doc/auctex.texi |   11 ++++++++++-
 2 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 62e96e9..e3cf5c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-08  Mos� Giordano  <address@hidden>
+       * doc/auctex.texi (Environments): Document
+       `LaTeX-default-document-environment'.
 2013-05-07  Mos� Giordano  <address@hidden>
        * tex.el (TeX-electric-dollar): New variable.
diff --git a/doc/auctex.texi b/doc/auctex.texi
index be12d8e..f50b4bd 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -728,9 +728,18 @@ inserted or, as the first choice the value of the variable
 @defopt LaTeX-default-environment
 Default environment to insert when invoking @samp{LaTeX-environment}
-first time.
+first time.  When the current environment is @samp{document}, it is
+overriden by @code{LaTeX-default-document-environment}.
 @end defopt
address@hidden LaTeX-default-document-environment
+Default environment when invoking @samp{LaTeX-environment} and the
+current environment is @samp{document}.  It is intended to be used in
address@hidden class style files.  For example, in @file{beamer.el} it is set
+to @code{slide}, in @file{letter.el} to @code{letter}, and in
address@hidden to @code{slide}.
address@hidden defvar
 If the document is empty, or the cursor is placed at the top of the
 document, @AUCTeX{} will default to insert a `document' environment.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]