>> "Tassilo" == Tassilo Horn <t...@gnu.org> writes: Hi Tassilo,
>> then in a latex file the menus are there, I can run latex, but the file >> is in fundamental mode! >> >> With debug-on-error to t, I obtain an error >> which I attach. > Debugger entered--Lisp error: (void-function nil) > nil() > run-hooks(change-major-mode-after-body-hook text-mode-hook TeX-mode-hook LaTeX-mode-hook) > Seems one of those 4 hooks contains a nil entry. I did not look carefully enough. I had some old code of the sort (add-hook 'LaTeX-mode-hook (lambda () (local-set-key [(control right)] 'preview-document) (local-set-key [(control left)] 'preview-clearout-buffer) (local-set-key [(control down)] 'preview-environment) (local-set-key [(control up)] 'preview-buffer))) Which caused the problem, I replaced the lambda call (which I dislike anyhow) and now it seems to work, sorry for the noise. Uwe
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex