[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 4c0d150 22/27: Don't call TeX-remove-style in Te
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 4c0d150 22/27: Don't call TeX-remove-style in TeX-arg-document. |
Date: |
Sat, 27 Jun 2020 03:17:45 -0400 (EDT) |
branch: externals/auctex
commit 4c0d15018aaefe8802a89d4e557938e3af797065
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>
Don't call TeX-remove-style in TeX-arg-document.
* latex.el (TeX-arg-document): Don't call TeX-arg-document.
---
latex.el | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/latex.el b/latex.el
index 7701eb3..db0af47 100644
--- a/latex.el
+++ b/latex.el
@@ -2303,8 +2303,8 @@ OPTIONAL and IGNORE are ignored."
(not (y-or-n-p "Find class yourself? "))
TeX-arg-input-file-search)
(prog2
- (message "Searching for LaTeX classes...")
- (TeX-search-files-by-type 'texinputs 'global t t)
+ (message "Searching for LaTeX classes...")
+ (TeX-search-files-by-type 'texinputs 'global t t)
(message "Searching for LaTeX classes...done"))
LaTeX-style-list)))
(setq style (completing-read
@@ -2340,11 +2340,7 @@ OPTIONAL and IGNORE are ignored."
(list (cons style opts)))))
(insert TeX-grop style TeX-grcl))
- ;; remove old information
- (TeX-remove-style)
-
- ;; defined in individual style hooks
- (TeX-update-style)
+ (TeX-update-style t)
(run-hooks 'TeX-after-document-hook))
(defvar LaTeX-after-usepackage-hook nil
- [elpa] externals/auctex 32ad0e2 04/27: Obsolete font-latex-update-font-lock (bug#37945), (continued)
- [elpa] externals/auctex 32ad0e2 04/27: Obsolete font-latex-update-font-lock (bug#37945), Tassilo Horn, 2020/06/27
- [elpa] externals/auctex f3df76a 09/27: Add support for algopseudocde style, Tassilo Horn, 2020/06/27
- [elpa] externals/auctex 54bb7c1 05/27: Omit hard font-lock reset also in font-latex-add-to-syntax-alist, Tassilo Horn, 2020/06/27
- [elpa] externals/auctex 9c105a2 06/27: Trigger refontification in font-latex-add-to-syntax-alist., Tassilo Horn, 2020/06/27
- [elpa] externals/auctex 7a1ebbf 08/27: Add support for algorithm style, Tassilo Horn, 2020/06/27
- [elpa] externals/auctex 9170170 11/27: Delete overhead in extending font lock range of math expression, Tassilo Horn, 2020/06/27
- [elpa] externals/auctex 0ec28c6 13/27: Reconsider region extension, Tassilo Horn, 2020/06/27
- [elpa] externals/auctex ababc71 14/27: Recover compatibility for older emacsen, Tassilo Horn, 2020/06/27
- [elpa] externals/auctex 393fb21 15/27: * texmathp.el: Add comment about additional bug., Tassilo Horn, 2020/06/27
- [elpa] externals/auctex 0079026 19/27: ; * tests/latex/fontification-general.tex: Fix Indentation in environments., Tassilo Horn, 2020/06/27
- [elpa] externals/auctex 4c0d150 22/27: Don't call TeX-remove-style in TeX-arg-document.,
Tassilo Horn <=
- [elpa] externals/auctex 14a2b27 24/27: Improve conformance to code conventions, and documents, Tassilo Horn, 2020/06/27
- [elpa] externals/auctex 3c1f820 25/27: Add TODO item about remove-style feature, Tassilo Horn, 2020/06/27
- [elpa] externals/auctex d9e148b 26/27: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2020/06/27
- [elpa] externals/auctex 3a809a9 18/27: Fix regression of font lock, Tassilo Horn, 2020/06/27
- [elpa] externals/auctex 3e1adad 23/27: ; * style/breqn.el (): Fix stupid mistake., Tassilo Horn, 2020/06/27
- [elpa] externals/auctex 1e8a495 27/27: Regenerate docs and tex-site.el after merge, Tassilo Horn, 2020/06/27