auctex-devel
[Top][All Lists]
Advanced

[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: Sun, 18 Aug 2024 18:16:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Hi Keita,

Ikumi Keita <ikumi@ikumi.que.jp> writes:

>>>>>> Arash Esbati <arash@gnu.org> writes:
>> Great, so let us advertise this kind of usage if needed.
>
> OK.

🙏

> And it seems that there are actual such users, I now agree that it would
> be more friendly to leave
>     (require 'tex-site (expand-file-name "tex-site.el"
>                         (file-name-directory load-file-name))
> in auctex.el.

Thanks, but here is the next issue; when applying the change (incl. the
missing closing paren), i.e.:

--8<---------------cut here---------------start------------->8---
diff --git a/auctex.el b/auctex.el
index 2f7af507..8b15e5c1 100644
--- a/auctex.el
+++ b/auctex.el
@@ -42,11 +42,9 @@
 ;;     (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)
-
+(require 'tex-site
+         (expand-file-name "tex-site.el"
+                           (file-name-directory load-file-name)))
 (provide 'auctex)

 ;;; auctex.el ends here
--8<---------------cut here---------------end--------------->8---

and running make, I get:

--8<---------------cut here---------------start------------->8---
emacs --batch -q -no-site-file -no-init-file -l lpath.el -f batch-byte-compile 
auctex.el

In toplevel form:
auctex.el:45:2: Error: Wrong type argument: stringp, nil
make: *** [GNUmakefile:82: auctex.elc] Error 1
--8<---------------cut here---------------end--------------->8---

I currently can't see why I :-(

Best, Arash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]