monnier pushed a commit to branch externals/auctex
in repository elpa.
commit 4ad7f97587642d6bff59bbeef0a6f9ede66ae7b1
Author: Tassilo Horn <[email protected]>
Date: Tue Mar 18 09:26:17 2014 +0100
Enable TeX-PDF-mode by default.
* doc/auctex.texi: Mention that `TeX-PDF-mode' is enabled by
default.
* tex.el (TeX-PDF-mode): Enable TeX PDF mode by default.
---
ChangeLog | 5 +++++
doc/auctex.texi | 8 ++++----
doc/changes.texi | 3 +++
tex.el | 2 +-
4 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 20f3490..2273fca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2014-03-18 Tassilo Horn <[email protected]>
+ * doc/auctex.texi: Mention that `TeX-PDF-mode' is enabled by
+ default.
+
+ * tex.el (TeX-PDF-mode): Enable TeX PDF mode by default.
+
* tex-buf.el (TeX-command-master): Ask for TeX-master if it cannot
be determined otherwise.
diff --git a/doc/auctex.texi b/doc/auctex.texi
index 6c6fa95..88fc820 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -2736,10 +2736,10 @@ Xe@TeX{}.
@cindex PDF mode
(@kbd{C-c C-t C-p})
This command toggles the @acronym{PDF} mode of @AUCTeX{}, a buffer-local
-minor mode. You can customize @code{TeX-PDF-mode} to give it a
-different default. The default is used when @AUCTeX{} does not have
-additional clue about what a document might want. This option usually
-results in calling either PDF@TeX{} or ordinary @TeX{}.
+minor mode which is enabled by default. You can customize
+@code{TeX-PDF-mode} to give it a different default or set it as a file
+local variable on a per-document basis. This option usually results in
+calling either PDF@TeX{} or ordinary @TeX{}.
@end deffn
@defopt TeX-DVI-via-PDFTeX
diff --git a/doc/changes.texi b/doc/changes.texi
index 79e4df5..a324dcb 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -11,6 +11,9 @@
@itemize @bullet
@item
+@code{TeX-PDF-mode} is now enabled by default.
+
+@item
Style file authors are encouraged to distinguish common from expert
macros/environments, and mark the latter using
@code{TeX-declare-expert-macros} and
diff --git a/tex.el b/tex.el
index 796b1d8..2415219 100644
--- a/tex.el
+++ b/tex.el
@@ -1721,7 +1721,7 @@ enabled and the `synctex' binary is available."
(set-default var value)
(TeX-set-mode-name var nil t))
-(defcustom TeX-PDF-mode nil nil
+(defcustom TeX-PDF-mode t nil
:group 'TeX-command
:set 'TeX-mode-set
:type 'boolean)