auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 4ad7f97587642d6bff59b


From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 4ad7f97587642d6bff59bbeef0a6f9ede66ae7b1
Date: Tue, 18 Mar 2014 08:52:26 +0000

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  4ad7f97587642d6bff59bbeef0a6f9ede66ae7b1 (commit)
       via  9d7310cb357e123bc98c0580aba2185e0c445767 (commit)
      from  e6bcd3a0c5864fca0b029f316e0add69ce04c8e0 (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 4ad7f97587642d6bff59bbeef0a6f9ede66ae7b1
Author: Tassilo Horn <address@hidden>
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.

diff --git a/ChangeLog b/ChangeLog
index 20f3490..2273fca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2014-03-18  Tassilo Horn  <address@hidden>
 
+       * 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 @@ address@hidden
 @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 address@hidden or ordinary @TeX{}.
+minor mode which is enabled by default.  You can customize
address@hidden 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 address@hidden 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
address@hidden is now enabled by default.
+
address@hidden
 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)

commit 9d7310cb357e123bc98c0580aba2185e0c445767
Author: Tassilo Horn <address@hidden>
Date:   Tue Mar 18 09:14:01 2014 +0100

    Ask for TeX-master if unknown.
    
    * tex-buf.el (TeX-command-master): Ask for TeX-master if it cannot
    be determined otherwise.

diff --git a/ChangeLog b/ChangeLog
index f0ca214..20f3490 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-18  Tassilo Horn  <address@hidden>
+
+       * tex-buf.el (TeX-command-master): Ask for TeX-master if it cannot
+       be determined otherwise.
+
 2014-03-15  Mosè Giordano  <address@hidden>
 
        * tex.el (TeX-view-command-raw): Throw an error when `spec' is
diff --git a/tex-buf.el b/tex-buf.el
index a7ea52c..3e788fe 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -90,8 +90,8 @@ Return non-nil if document needs to be re-TeX'ed."
 If a prefix argument OVERRIDE-CONFIRM is given, confirmation will
 depend on it being positive instead of the entry in `TeX-command-list'."
   (interactive "P")
-  (TeX-command (TeX-command-query (TeX-master-file)) 'TeX-master-file
-              override-confirm))
+  (TeX-command (TeX-command-query (TeX-master-file nil nil t))
+              'TeX-master-file override-confirm))
 
 (defvar TeX-command-region-begin nil)
 (defvar TeX-command-region-end nil)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |   10 ++++++++++
 doc/auctex.texi  |    8 ++++----
 doc/changes.texi |    3 +++
 tex-buf.el       |    4 ++--
 tex.el           |    2 +-
 5 files changed, 20 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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