I've been exploring more.  Here is a summary of what I've found:

If I customize LaTeX-mode-hook and load a .tex file, the value of
`LaTeX-mode-hook' is wiped and replaced with only preview-mode-setup.

If I comment out the line

(add-hook 'LaTeX-mode-hook #'LaTeX-preview-setup)

in auctex-autoloads.el, the customized value of `LaTeX-mode-hook' is not
wiped.

If I change 

'(LaTeX-mode-hook '(flyspell-mode LaTeX-math-mode turn-on-reftex))

within (custom-set-variables.. in my init file to

'(LaTeX-mode-hook '(flyspell-mode LaTeX-math-mode turn-on-reftex) t)

the customized value is not wiped.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to