[Top][All Lists]

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 15ebec9659d45623098a1

From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 15ebec9659d45623098a168410d271cd39550a96
Date: Tue, 24 Nov 2015 05:09:03 +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  15ebec9659d45623098a168410d271cd39550a96 (commit)
      from  d68a089539a03ae21cfa4754aa09caa51200f3fe (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 15ebec9659d45623098a168410d271cd39550a96
Author: Tassilo Horn <address@hidden>
Date:   Tue Nov 24 06:07:26 2015 +0100

    Rename TeX-after-compilation-finished-hook to -functions
    * tex-buf.el (TeX-after-compilation-finished-functions): Rename from
    -hook to -functions.
    (TeX-LaTeX-sentinel): Adapt.
    * context.el (TeX-ConTeXt-sentinel): Adapt.

diff --git a/context.el b/context.el
index 8d892f8..42d1594 100644
--- a/context.el
+++ b/context.el
@@ -602,7 +602,7 @@ inserted after the sectioning command."
           (setq TeX-command-next TeX-command-default)))))
   (unless TeX-error-list
-    (run-hook-with-args 'TeX-after-compilation-finished-hook
+    (run-hook-with-args 'TeX-after-compilation-finished-functions
                        (with-current-buffer TeX-command-buffer
                           (TeX-active-master (TeX-output-extension)))))))
diff --git a/tex-buf.el b/tex-buf.el
index 2f6da70..2859b40 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -889,7 +889,7 @@ the current style options."
 ;;; Command Hooks
-(defvar TeX-after-compilation-finished-hook nil
+(defvar TeX-after-compilation-finished-functions nil
   "Hook being run after TeX/LaTeX/ConTeXt finished successfully.
 The functions in this hook are run with the DVI/PDF output file
 given as argument.  Using this hook can be useful for updating
@@ -899,13 +899,13 @@ If you use an emacs-internal viewer such as 
`doc-view-mode' or
 `pdf-view-mode', add `TeX-revert-document-buffer' to this hook.")
 (make-obsolete-variable 'TeX-after-TeX-LaTeX-command-finished-hook
-                       'TeX-after-compilation-finished-hook
+                       'TeX-after-compilation-finished-functions
 (defun TeX-revert-document-buffer (file)
   "Revert the buffer visiting FILE.
 This function is intended to be used in
-`TeX-after-compilation-finished-hook' for users that view
+`TeX-after-compilation-finished-functions' for users that view
 their compiled document with an emacs viewer such as
 `doc-view-mode' or `pdf-view-mode'.  (Note that this function
 just calls `revert-buffer' in the respective buffer and thus
@@ -1534,7 +1534,7 @@ Rerun to get mark in right position\\." nil t)
         (push (cons idx-file t) LaTeX-idx-changed-alist)))
   (unless TeX-error-list
-    (run-hook-with-args 'TeX-after-compilation-finished-hook
+    (run-hook-with-args 'TeX-after-compilation-finished-functions
                        (with-current-buffer TeX-command-buffer
                           (TeX-active-master (TeX-output-extension)))))))


Summary of changes:
 context.el |    2 +-
 tex-buf.el |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)


reply via email to

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