[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
`LaTeX-default-document-environment'.
---
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.
- [elpa] 103/299: Use user-full-name as initial input to author macro., (continued)
- [elpa] 103/299: Use user-full-name as initial input to author macro., Stefan Monnier, 2014/11/01
- [elpa] 100/299: Better unbinding of SPC in LaTeX-arg-acro-key-val and LaTeX-arg-siunitx-unit., Stefan Monnier, 2014/11/01
- [elpa] 106/299: Add beamer class options., Stefan Monnier, 2014/11/01
- [elpa] 95/299: Add new style files acro.el and acronym.el., Stefan Monnier, 2014/11/01
- [elpa] 108/299: Some improvements to amsthm style file., Stefan Monnier, 2014/11/01
- [elpa] 107/299: Add counters and pagestyle to some class styles., Stefan Monnier, 2014/11/01
- [elpa] 110/299: Set default environment for some class styles., Stefan Monnier, 2014/11/01
- [elpa] 113/299: Change BibTeX button to Biber when LaTeX-using-biber is non-nil., Stefan Monnier, 2014/11/01
- [elpa] 112/299: Add new variable `LaTeX-default-document-environment'., Stefan Monnier, 2014/11/01
- [elpa] 111/299: Add history variables in some style files., Stefan Monnier, 2014/11/01
- [elpa] 115/299: Document LaTeX-default-document-environment.,
Stefan Monnier <=
- [elpa] 114/299: Wrap dollars around active region typing `$'., Stefan Monnier, 2014/11/01
- [elpa] 119/299: Fixes to TeX-arg-index-tag, TeX-arg-cite, TeX-parse-arguments., Stefan Monnier, 2014/11/01
- [elpa] 117/299: Insert one $ when point is in a verbatim construct., Stefan Monnier, 2014/11/01
- [elpa] 109/299: Fix in TeX-arg-insert-braces., Stefan Monnier, 2014/11/01
- [elpa] 121/299: Silence some compilation warning., Stefan Monnier, 2014/11/01
- [elpa] 124/299: Make forward PDF search with Okular work., Stefan Monnier, 2014/11/01
- [elpa] 123/299: Fix docstring of `TeX-source-correlate-sync-source'., Stefan Monnier, 2014/11/01
- [elpa] 116/299: Temporary fix for font-latex-jit-lock-force-redisplay., Stefan Monnier, 2014/11/01
- [elpa] 126/299: Fix for autogen.sh., Stefan Monnier, 2014/11/01
- [elpa] 118/299: Add new style files fancyvrb.el and xparse.el., Stefan Monnier, 2014/11/01