[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 52f903a4e9 08/43: Take care of `unload-feature'
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 52f903a4e9 08/43: Take care of `unload-feature' |
Date: |
Wed, 7 Feb 2024 06:07:08 -0500 (EST) |
branch: externals/auctex
commit 52f903a4e91b1325d696712a768d01fefdf2b25e
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>
Take care of `unload-feature'
* tex-site.el.in (tex-mode): Deactivate form registered by
`with-eval-after-load' if `tex-site' is unloaded.
(): Delete unnecessary codes. Current code puts `defalias' rather
than `autoload' in tex-site.el for `plain-TeX-mode' and `LaTeX-mode'
by "###autoload" cookies.
---
tex-site.el.in | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/tex-site.el.in b/tex-site.el.in
index f788772b13..a17709fd4d 100644
--- a/tex-site.el.in
+++ b/tex-site.el.in
@@ -47,11 +47,6 @@
;; auctex.el directly, in the old way.
(provide 'tex-site) ;Avoid (re)loading tex-site from auctex-autoloads.
- ;; Delete predefined autoloads by tex-mode.el so that AUCTeX
- ;; autoloads provided aftarwards take precedence.
- (fset 'plain-TeX-mode nil)
- (fset 'LaTeX-mode nil)
-
(load "auctex-autoloads" 'noerror 'nomessage))
;; Define here in order for `M-x customize-group <RET> AUCTeX <RET>'
@@ -150,7 +145,8 @@ set it with `TeX-modes-set'."
;; emacsens version becomes 29 or higher and (defun TeX-LaTeX-mode
;; ...) etc. are turned into (define-derived-mode LaTeX-mode ...) etc.
(with-eval-after-load 'tex-mode
- (progn
+ ;; This must be no-op after (unload-feature 'tex-site).
+ (when (featurep 'tex-site)
(defalias 'plain-TeX-mode #'TeX-plain-TeX-mode)
(defalias 'LaTeX-mode #'TeX-LaTeX-mode)))
- [elpa] externals/auctex 94127f5e10 37/43: Make banner regexp customizable, (continued)
- [elpa] externals/auctex 94127f5e10 37/43: Make banner regexp customizable, Tassilo Horn, 2024/02/07
- [elpa] externals/auctex 5bd8ca03ff 13/43: ; * tex-jp.el (japanese-plain-TeX-mode): Fix mode lighter., Tassilo Horn, 2024/02/07
- [elpa] externals/auctex d7f1d28159 32/43: ; * tex.el (TeX-auto-parse-length): Fix Typo., Tassilo Horn, 2024/02/07
- [elpa] externals/auctex f9fc9619a1 35/43: ; Replace keyword wp with text, Tassilo Horn, 2024/02/07
- [elpa] externals/auctex 5b61f6c563 42/43: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2024/02/07
- [elpa] externals/auctex 997bff87d2 23/43: Retain compatibility for directory local variables, Tassilo Horn, 2024/02/07
- [elpa] externals/auctex ba27accea2 41/43: ; * doc/auctex.texi (Environments): Mention prefix argument., Tassilo Horn, 2024/02/07
- [elpa] externals/auctex ae43b62283 03/43: Commit for ConTeXt modes, Tassilo Horn, 2024/02/07
- [elpa] externals/auctex 5b50b1e2da 29/43: Set the safe-local-variable property with the :safe keyword, Tassilo Horn, 2024/02/07
- [elpa] externals/auctex a6e53e53d8 09/43: Refine management of mode redirection, Tassilo Horn, 2024/02/07
- [elpa] externals/auctex 52f903a4e9 08/43: Take care of `unload-feature',
Tassilo Horn <=
- [elpa] externals/auctex 9c850abddf 28/43: Lift required GNU Emacs version to 27.1, Tassilo Horn, 2024/02/07
- [elpa] externals/auctex 938e82ed8e 01/43: Commit for plain TeX and AmS-TeX, Tassilo Horn, 2024/02/07
- [elpa] externals/auctex 798b1fae86 39/43: Support starred version of VerbatimInput macros, Tassilo Horn, 2024/02/07
- [elpa] externals/auctex e073809830 04/43: Commit for LaTeX mode and docTeX mode, Tassilo Horn, 2024/02/07
- [elpa] externals/auctex 26e786af63 40/43: Annotate labels during completion, Tassilo Horn, 2024/02/07
- [elpa] externals/auctex 4ddf6dd9bd 20/43: Tune docTeX mode abbrev table, Tassilo Horn, 2024/02/07
- [elpa] externals/auctex c401a1130e 38/43: ; Arrange the documentation of the previous commit, Tassilo Horn, 2024/02/07
- [elpa] externals/auctex c12eba0ba2 17/43: Adjust menu, Tassilo Horn, 2024/02/07