[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 16ef09b18c 15/23: Override built-in tex-mode
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 16ef09b18c 15/23: Override built-in tex-mode |
Date: |
Thu, 20 Oct 2022 14:53:23 -0400 (EDT) |
branch: externals/auctex
commit 16ef09b18ca2d652e38cbdeb717c737394bf7ce7
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>
Override built-in tex-mode
* tex-site.el.in (TeX-modes-set): Specify `depth' to override the
:around advice given to `tex-mode' in tex-mode.el.
---
tex-site.el.in | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/tex-site.el.in b/tex-site.el.in
index e088251efd..b9a73bd9a2 100644
--- a/tex-site.el.in
+++ b/tex-site.el.in
@@ -107,7 +107,12 @@ functions into the respective function cell of the mode."
(setq elt (car (pop list)))
(let ((dst (intern (concat "TeX-" (symbol-name elt)))))
(if (memq elt value)
- (advice-add elt :override dst)
+ (advice-add elt :override dst
+ ;; COMPATIBILITY for Emacs 28.[12]
+ ;; Give it higher precedence than the :around
+ ;; advice given to `tex-mode' in tex-mode.el.
+ ;;
<URL:https://lists.gnu.org/r/auctex-devel/2022-09/msg00050.html>
+ '((depth . -10)))
(advice-remove elt dst))))))
(defcustom TeX-modes
- [elpa] externals/auctex 6b5f00bfac 01/23: Unquote lambdas in font-latex.el & tex-bar.el; add some FIXMEs, (continued)
- [elpa] externals/auctex 6b5f00bfac 01/23: Unquote lambdas in font-latex.el & tex-bar.el; add some FIXMEs, Tassilo Horn, 2022/10/20
- [elpa] externals/auctex 10dbae9ab1 08/23: Add support for catchfilebetweentags package, Tassilo Horn, 2022/10/20
- [elpa] externals/auctex 567458f54f 07/23: Silence byte-compiler., Tassilo Horn, 2022/10/20
- [elpa] externals/auctex 1e2e097106 12/23: * style/l3doc.el ("l3doc"): Fix entry for the "env" macro., Tassilo Horn, 2022/10/20
- [elpa] externals/auctex e2ce8ae4db 19/23: Improve style/fvextra.el, Tassilo Horn, 2022/10/20
- [elpa] externals/auctex 07a8a3cf98 13/23: ; Use `TeX-dialect' in style/tcolorboxlib-theorems.el, Tassilo Horn, 2022/10/20
- [elpa] externals/auctex b36127cc74 10/23: * tex.el: Require seq.el for older Emacsen where not preloaded., Tassilo Horn, 2022/10/20
- [elpa] externals/auctex 4a843073c5 22/23: Don't use `eval' on code, Tassilo Horn, 2022/10/20
- [elpa] externals/auctex d22387d0d2 23/23: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2022/10/20
- [elpa] externals/auctex ae2922ce76 14/23: Update style/amsart.el, Tassilo Horn, 2022/10/20
- [elpa] externals/auctex 16ef09b18c 15/23: Override built-in tex-mode,
Tassilo Horn <=
- [elpa] externals/auctex 1e59481512 18/23: Improve interaction between fancyvrb.el and fvextra.el, Tassilo Horn, 2022/10/20
- [elpa] externals/auctex b302fdce1d 20/23: Add missing argument for `TeX-argument-prompt', Tassilo Horn, 2022/10/20
- [elpa] externals/auctex fe801f9e4a 11/23: Add support for the amsaddr package, Tassilo Horn, 2022/10/20
- [elpa] externals/auctex 6baccb4054 16/23: Recognize '=' argument modifier, Tassilo Horn, 2022/10/20
- [elpa] externals/auctex 4c26ef9b0b 21/23: ; Delete ineffective string escapes, Tassilo Horn, 2022/10/20