Benedikt Nordhoff <[email protected]> writes:
Hi Benedikt,
> homebrew updated my Emacs to 27.1 today and now auctex 12.2.0 fails to
> load with the following error.
>
> Debugger entered--Lisp error: (wrong-type-argument stringp (require . info))
>
> string-match("\\(\\`\\|/\\)desktop\\(\\.elc\\|\\.el\\|\\.so\\)?\\(\\.gz\\)?\\'"
> (require . info))
>
> load-history-filename-element("\\(\\`\\|/\\)desktop\\(\\.elc\\|\\.el\\|\\.so\\)?\\(\\.gz\\)?\\'")
> eval-after-load("desktop" #f(compiled-function () #<bytecode
> 0x1fe96bd47aa1>))
This looks like you have some invalid entry in load-history, i.e., an
alist entry where the key is not a string but (require . info). AUCTeX
doesn't mess with load-history, so the question is how that entry ends
up there.
It seems to happen when desktop-mode is loaded, so I suggest to disable
that for a moment to see if the error persist.
Do you have an explicit (eval-after-load "desktop" ...) in your .emacs?
And given the's advice-eval-interactive-spec in the backtrace, do you
have a piece of advice on TeX-latex-mode (it should be listed with C-h f
TeX-latex-mode RET).
Bye,
Tassilo