Hi Keita, Ikumi Keita <ik...@ikumi.que.jp> writes:
>>>>>> Arash Esbati <ar...@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