bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21188: Preview installed from the package manager changes LaTeX-mode


From: Joseph Mingrone
Subject: bug#21188: Preview installed from the package manager changes LaTeX-mode-hook
Date: Tue, 04 Aug 2015 18:20:57 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]