[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 2017d97b0e 09/39: Rewrite *-unload-hook to *-unl
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 2017d97b0e 09/39: Rewrite *-unload-hook to *-unload-function |
Date: |
Thu, 20 Jul 2023 04:21:48 -0400 (EDT) |
branch: externals/auctex
commit 2017d97b0e74a9edb92091bafcf2c4db6768599b
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>
Rewrite *-unload-hook to *-unload-function
* tex-site.el.in (tex-site-unload-function): According to
loadhist.el, *-unload-hook is obsolete. Use *-unload-function
instead.
; (TeX-auto-global, AUCTeX-version): Fix indent.
---
tex-site.el.in | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/tex-site.el.in b/tex-site.el.in
index dd043c0198..05ef115649 100644
--- a/tex-site.el.in
+++ b/tex-site.el.in
@@ -73,7 +73,7 @@ TeX-auto-* (automatically generated lisp).")
"The directory where the AUCTeX non-Lisp data is located.")
(defcustom TeX-auto-global
- @lispautodir@
+ @lispautodir@
"Directory containing automatically generated information.
For storing automatic extracted information about the TeX macros
@@ -91,10 +91,11 @@ shared by all users of a site."
(defalias 'TeX-load-hack #'ignore)
-(add-hook 'tex-site-unload-hook
- (lambda ()
- (TeX-modes-set 'TeX-modes nil)
- (setq load-path (delq TeX-lisp-directory load-path))))
+(defun tex-site-unload-function ()
+ (TeX-modes-set 'TeX-modes nil)
+ (setq load-path (delq TeX-lisp-directory load-path))
+ ;; Tell emacs to continue standard unloading procedure.
+ nil)
(defun TeX-modes-set (var value &optional _ignored)
"Set VAR (which should be `TeX-modes') to VALUE.
@@ -127,7 +128,7 @@ set it with `TeX-modes-set'."
:initialize #'custom-initialize-reset)
(defconst AUCTeX-version "@AUCTEXVERSION@"
- "AUCTeX version.
+ "AUCTeX version.
If not a regular release, the date of the last change.")
(defconst AUCTeX-date "@AUCTEXDATE@"
- [elpa] externals/auctex updated (9d47b0a1bd -> 1c3360b162), Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 11e9dbfdf3 30/39: Track last change for \newtheorem macro in styles, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex d6fb3c58ce 01/39: Be more resilient when parsing arguments, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 22ba857c53 06/39: Improve fontification within shortvrb delimiters, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 4bcad4772d 15/39: Simplify handling of package options, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex b4c27dd36b 02/39: Lift required GNU Emacs version to 26.1, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex e0bc78a500 23/39: Support in-buffer completion for class/package names/options, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex b55368f75f 38/39: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 2017d97b0e 09/39: Rewrite *-unload-hook to *-unload-function,
Tassilo Horn <=
- [elpa] externals/auctex c67f5d75b2 14/39: ; * Makefile.in (STYLESRC): Fix last change., Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 1c3360b162 39/39: Release GNU AUCTeX 13.2.1, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex cdd0cbf33a 03/39: Add new style/soul.el, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 6d34e1f1ae 34/39: Simplify implementation of style/paralist.el, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex fe42de7cf6 26/39: Obey buffer-local value of TeX-error-overview-open-after-TeX-run, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 38e729a75f 28/39: * latex.el (LaTeX-common-initialization): Replace `TeX-arg-eval'., Tassilo Horn, 2023/07/20
- [elpa] externals/auctex da28858e46 20/39: Improve handling of beamer class options, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 7a347cd394 10/39: Remove compatibility code for Emacs<26, Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 2969b24b52 16/39: ; * style/wasysym.el: Silence warnings from 'make dynvars-check'., Tassilo Horn, 2023/07/20
- [elpa] externals/auctex 78bc8d6b56 36/39: * style/menukeys.el ("menukeys"): Replace `TeX-arg-eval'., Tassilo Horn, 2023/07/20