[Top][All Lists]

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. c5cd145227019989b0621

From: Ikumi Keita
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. c5cd145227019989b06214078bfab1a5e3411f0e
Date: Thu, 7 Jan 2021 04:22:08 -0500 (EST)

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  c5cd145227019989b06214078bfab1a5e3411f0e (commit)
       via  9100b87068b08bc5ffd4abf7e6e3c07956386537 (commit)
      from  67bd5ffe4fe9d0e0af96f145e098ba1c632f680b (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 c5cd145227019989b06214078bfab1a5e3411f0e
Author: Ikumi Keita <>
Date:   Tue Jan 5 16:34:10 2021 +0900

    ; Fix typo.
    * doc/preview-latex.texi (Simple customization, The preview images):
    Fix typos.

diff --git a/doc/preview-latex.texi b/doc/preview-latex.texi
index b0c682a..51116a6 100644
--- a/doc/preview-latex.texi
+++ b/doc/preview-latex.texi
@@ -430,7 +430,7 @@ less correct.
 If you have a certain macro or environment that you want to preview,
 first check if it can be chosen by cutomizing
-@code{preview-default-options-list} in the @code{Preview Latex} group.
+@code{preview-default-option-list} in the @code{Preview Latex} group.
 If it is not available there, you can add it to
 @code{preview-default-preamble} also in the @code{Preview Latex} group,
@@ -684,7 +684,7 @@ in @code{preview-gs-image-type-alist}.
 @code{preview-image-type} defaults to @code{png}.  For this to work,
 your version of Ghostscript needs to support the @option{png16m} device.
 If you are experiencing problems here, you might want to reconfigure
-@code{gs-image-type-alist} or @code{preview-image-type}.  Reconfiguring
+@code{preview-gs-image-type-alist} or @code{preview-image-type}.  Reconfiguring
 @code{preview-image-creators} is only necessary for adding additional
 image types.

commit 9100b87068b08bc5ffd4abf7e6e3c07956386537
Author: Ikumi Keita <>
Date:   Fri Jan 1 18:41:29 2021 +0900

    Use `write-contents-functions' instead of `write-file-functions'
    * tex.el (VirTeX-common-initialization):
    * latex.el (BibTeX-auto-store):
    Use `write-contents-functions' instead of `write-file-functions' to
    store `TeX-safe-auto-write' because the latter is cleared by C-x
    C-w (write-file).
    * doc/changes.texi (News in 13.0): Mention the bug fix.

diff --git a/doc/changes.texi b/doc/changes.texi
index cc0156f..d5de532 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -12,6 +12,11 @@
 @itemize @bullet
+Since @AUCTeX{} 12.2, @kbd{C-x C-w} accidentally disabled the parse on
+save in that buffer, even when you enabled @code{TeX-auto-save} option.
+This bug was fixed.
 @AUCTeX{} now requires GNU Emacs 24.3 or higher.
diff --git a/latex.el b/latex.el
index 2a21802..d6768c4 100644
--- a/latex.el
+++ b/latex.el
@@ -1988,7 +1988,7 @@ The value is actually the tail of the list of options 
given to PACKAGE."
 It will setup BibTeX to store keys in an auto file."
   ;; We want this to be early in the list, so we do not
   ;; add it before we enter BibTeX mode the first time.
-  (add-hook 'write-file-functions #'TeX-safe-auto-write nil t)
+  (add-hook 'write-contents-functions #'TeX-safe-auto-write nil t)
   (set (make-local-variable 'TeX-auto-update) 'BibTeX)
   (set (make-local-variable 'TeX-auto-untabify) nil)
diff --git a/tex.el b/tex.el
index 936671a..37a7c32 100644
--- a/tex.el
+++ b/tex.el
@@ -3715,7 +3715,7 @@ The algorithm is as follows:
   ;; We want this to be early in the list, so we do not add it before
   ;; we enter TeX mode the first time.
-  (add-hook 'write-file-functions #'TeX-safe-auto-write nil t)
+  (add-hook 'write-contents-functions #'TeX-safe-auto-write nil t)
   (set (make-local-variable 'TeX-auto-update) t)
   (define-key TeX-mode-map "\C-xng" 'TeX-narrow-to-group)


Summary of changes:
 doc/changes.texi       | 5 +++++
 doc/preview-latex.texi | 4 ++--
 latex.el               | 2 +-
 tex.el                 | 2 +-
 4 files changed, 9 insertions(+), 4 deletions(-)


reply via email to

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