[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa 15ebec9 12/35: Rename TeX-after-compilation-finished-hook to
From: |
Tassilo Horn |
Subject: |
[elpa] elpa 15ebec9 12/35: Rename TeX-after-compilation-finished-hook to -functions |
Date: |
Sun, 31 Jan 2016 16:05:36 +0000 |
branch: elpa
commit 15ebec9659d45623098a168410d271cd39550a96
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>
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.
---
context.el | 2 +-
tex-buf.el | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
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."
(TeX-current-pages)))
(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
(expand-file-name
(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
"11.89")
(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
(expand-file-name
(TeX-active-master (TeX-output-extension)))))))
- [elpa] elpa e4cde66 02/35: Determine AUCTEXDATE and AUCTEXVERSION from git, (continued)
- [elpa] elpa e4cde66 02/35: Determine AUCTEXDATE and AUCTEXVERSION from git, Tassilo Horn, 2016/01/31
- [elpa] elpa c2fbb9c 01/35: Fix error in autogen.sh, configure, and Makefile, Tassilo Horn, 2016/01/31
- [elpa] elpa fac521d 05/35: Fix bug in TeX-command-sequence, Tassilo Horn, 2016/01/31
- [elpa] elpa 4ed66ee 03/35: Activate RefTeX reference styles, Tassilo Horn, 2016/01/31
- [elpa] elpa 8334cde 08/35: ; Fix a typo in header, Tassilo Horn, 2016/01/31
- [elpa] elpa 065b1e8 09/35: Improve style/amsthm.el, Tassilo Horn, 2016/01/31
- [elpa] elpa 68d9b03 07/35: Rename TeX-after-TeX-LaTeX-command-finished-hook, Tassilo Horn, 2016/01/31
- [elpa] elpa 2880b62 13/35: Fix regex in texmathp, Tassilo Horn, 2016/01/31
- [elpa] elpa 63ea223 06/35: Convert Elisp source files to UTF-8, Tassilo Horn, 2016/01/31
- [elpa] elpa 5940550 10/35: Add new style/theorem.el, Tassilo Horn, 2016/01/31
- [elpa] elpa 15ebec9 12/35: Rename TeX-after-compilation-finished-hook to -functions,
Tassilo Horn <=
- [elpa] elpa 23612ac 15/35: Delete .cvsignore, Tassilo Horn, 2016/01/31
- [elpa] elpa 8cd9b0d 14/35: Fix query prompt, Tassilo Horn, 2016/01/31
- [elpa] elpa 2ebd71d 16/35: Fix bug in `preview-LaTeX-disable-pdfoutput', Tassilo Horn, 2016/01/31
- [elpa] elpa d2c7bb3 19/35: Fix bug in subfigure style file, Tassilo Horn, 2016/01/31
- [elpa] elpa 4f618ec 18/35: Add some AMS arrows to LaTeX-math-default, Tassilo Horn, 2016/01/31
- [elpa] elpa d68a089 11/35: Add new style/ntheorem.el, Tassilo Horn, 2016/01/31
- [elpa] elpa bafe761 17/35: url macro accepts only braces in hyperref, Tassilo Horn, 2016/01/31
- [elpa] elpa 107b249 21/35: Convert tex-font.el to UTF-8 coding, Tassilo Horn, 2016/01/31
- [elpa] elpa 255efa3 23/35: Write TeX-style-hook-dialect to parsed file, Tassilo Horn, 2016/01/31
- [elpa] elpa 58386b9 25/35: Improve font related queries, Tassilo Horn, 2016/01/31