Wrong type argument when using reftex-mode with master-file

77 Views Asked by At

I am using emacs on debian-12 with auctex and reftex. I am editing a buffer with the master-file variable set to one other file. Then when I try to insert an equation environment C-c C-e equation emacs I got the message:

Wrong type argument: symbolp, #[128 "\300\301^B\"\207" [apply reftex-label reftex-label nil] 4 nil (advice-eval-interactive-spec (cadr (interactive-form 'reftex-label)))]

Then the environment is created without the generated \label{eq:***}.

The same slave-file, the same master-file, and the same .emacs file in another machine running Ubuntu 22.04 does not catch the same error and the \label{eq:**} is generated smoothly.

1

There are 1 best solutions below

2
On

This issue was solved by removing the AUCTeX installation shipped with Debian 12 and re-installing AUCTeX via the emacs package-installer.

Details on:

https://lists.gnu.org/archive/html/auctex/2023-11/msg00019.html