[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex a9eb155 37/80: Fix regression
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex a9eb155 37/80: Fix regression |
Date: |
Wed, 16 Oct 2019 11:07:13 -0400 (EDT) |
branch: externals/auctex
commit a9eb15592ff350e56ea1b172805e1d5449a572b3
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>
Fix regression
* latex.el (LaTeX-arg-usepackage-insert, LaTeX-arg-usepackage): Move
`TeX-run-style-hooks' from `LaTeX-arg-usepackage' to
`LaTeX-arg-usepackage-insert'. Due to my commit "Defer running style
hook until options are given actually", style hooks associated with
\usepackage were not run when the document is newly created with
`LaTeX-env-document'.
---
latex.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/latex.el b/latex.el
index 064199d..dd6c398 100644
--- a/latex.el
+++ b/latex.el
@@ -2352,7 +2352,8 @@ of the options, nil otherwise."
packages))
(insert LaTeX-optop options LaTeX-optcl))
(insert TeX-grop (mapconcat 'identity packages ",") TeX-grcl)
- (run-hooks 'LaTeX-after-usepackage-hook))
+ (run-hooks 'LaTeX-after-usepackage-hook)
+ (apply #'TeX-run-style-hooks packages))
(defun LaTeX-arg-usepackage (_optional)
"Insert arguments to usepackage.
@@ -2360,8 +2361,7 @@ OPTIONAL is ignored."
(let* ((packages-options (LaTeX-arg-usepackage-read-packages-with-options))
(packages (car packages-options))
(options (cdr packages-options)))
- (LaTeX-arg-usepackage-insert packages options)
- (apply #'TeX-run-style-hooks packages)))
+ (LaTeX-arg-usepackage-insert packages options)))
(defun LaTeX-insert-usepackages ()
"Prompt for the insertion of usepackage macros until empty
- [elpa] externals/auctex 92c090d 30/80: Fix treatment of class and package options, (continued)
- [elpa] externals/auctex 92c090d 30/80: Fix treatment of class and package options, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex a30db7c 24/80: Allow the user to customize which TeX commands are available in each mode., Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 4d0cf0f 10/80: ; Silence the compiler, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 7872796 15/80: * tex-info.el (TeX-texinfo-mode): Set `add-log-current-defun-function' locally., Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 18a09f0 03/80: * auctex.el: Add requireds, keywords, and trailer, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex b141ded 27/80: Remove compatibility code for xemacs, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 4611580 32/80: * tex-jp.el (AUCTeX-jp): Add keyword :link to info node., Tassilo Horn, 2019/10/16
- [elpa] externals/auctex ca0437d 16/80: Update keywords to biblatex v3.12, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 1b6e513 22/80: ; Use `LaTeX-extract-key-value-label', Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 5592f7d 17/80: Reset `TeX-PDF-from-DVI' if xetex engine is in use, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex a9eb155 37/80: Fix regression,
Tassilo Horn <=
- [elpa] externals/auctex af15814 42/80: ; * style/babel.el: Fix typo, remove code remainder., Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 5208d91 50/80: Enhance support for file names with spaces, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 1a83f1b 09/80: ; Remove `eval-when-compile' for latex.el, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex ddd7894 20/80: ; Fix last commit, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex c92251c 36/80: Load hyperref.el in `LaTeX-beamer-class-options', Tassilo Horn, 2019/10/16
- [elpa] externals/auctex d4660dd 18/80: * style/xparse.el ("xparse"): Fix fontification of alternatives., Tassilo Horn, 2019/10/16
- [elpa] externals/auctex b62181c 29/80: ; Remove unused code fragment, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 400b002 28/80: Remove obsolete codes, Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 0cc2578 39/80: ; Use the correct variable `LaTeX-fontspec-font-features', Tassilo Horn, 2019/10/16
- [elpa] externals/auctex 945ffaf 40/80: Update style/babel.el to package version 3.31, Tassilo Horn, 2019/10/16