[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Drop tarball releases and go ELPA only
|
From: |
Arash Esbati |
|
Subject: |
Re: Drop tarball releases and go ELPA only |
|
Date: |
Wed, 21 Aug 2024 11:24:35 +0200 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi Keita,
Ikumi Keita <ikumi@ikumi.que.jp> writes:
> Yes, lisp version is mandatory.
Thanks for confirming. So the whole change looks like this, or am I
missing something?
--8<---------------cut here---------------start------------->8---
diff --git a/auctex.el b/auctex.el
index 2f7af507..33240245 100644
--- a/auctex.el
+++ b/auctex.el
@@ -33,20 +33,17 @@
;;; Code:
-;; This can be used for starting up AUCTeX. The following somewhat
-;; strange trick causes tex-site.el to be loaded in a way that can be
-;; safely undone using (unload-feature 'tex-site).
-
-;; FIXME: I don't quite understand in which way this is better than less
-;; strange code such as
-;; (require 'tex-site (expand-file-name "tex-site.el"
-;; (file-name-directory load-file-name))
-
-(autoload 'TeX-load-hack
- (expand-file-name "tex-site.el"
- (file-name-directory load-file-name)))
-(TeX-load-hack)
+;; This can be used for starting up AUCTeX, e.g., when not installed
+;; ELPA. The following form should safely be undone using
+;; (unload-feature 'tex-site).
+(require 'tex-site
+ (expand-file-name "tex-site.el"
+ (file-name-directory load-file-name)))
(provide 'auctex)
+;; Local Variables:
+;; no-byte-compile: t
+;; End:
+
;;; auctex.el ends here
diff --git a/tex-site.el.in b/tex-site.el.in
index 886d2918..462a7575 100644
--- a/tex-site.el.in
+++ b/tex-site.el.in
@@ -94,8 +94,6 @@ shared by all users of a site."
(doctex-mode . docTeX-mode))
"Alist of built-in TeX modes and their counterparts in AUCTeX.")
-(defalias 'TeX-load-hack #'ignore)
-
(defun tex-site-unload-function ()
(TeX-modes-set 'TeX-modes nil)
--8<---------------cut here---------------end--------------->8---
Best, Arash
- Re: Drop tarball releases and go ELPA only, (continued)
- Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/17
- Re: Drop tarball releases and go ELPA only, Arash Esbati, 2024/08/18
- Re: Drop tarball releases and go ELPA only, Uwe Brauer, 2024/08/18
- Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/18
- Re: Drop tarball releases and go ELPA only, Arash Esbati, 2024/08/18
- Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/19
- Re: Drop tarball releases and go ELPA only, Arash Esbati, 2024/08/19
- Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/19
- Re: Drop tarball releases and go ELPA only, Arash Esbati, 2024/08/21
- Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/21
- Re: Drop tarball releases and go ELPA only,
Arash Esbati <=
- Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/21
- Re: Drop tarball releases and go ELPA only, Arash Esbati, 2024/08/21
- Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/21
- Re: Drop tarball releases and go ELPA only, Arash Esbati, 2024/08/22
- Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/22
- Re: Drop tarball releases and go ELPA only, Arash Esbati, 2024/08/22
- Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/23
- Re: Drop tarball releases and go ELPA only, Arash Esbati, 2024/08/24
Re: Drop tarball releases and go ELPA only, Ikumi Keita, 2024/08/09