[Top][All Lists]

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

[AUCTeX-devel] [hook does not work] (was: source-correlate mode always.)

From: Uwe Brauer
Subject: [AUCTeX-devel] [hook does not work] (was: source-correlate mode always.)
Date: Fri, 25 Jul 2014 19:05:22 +0200
User-agent: Gnus/5.13001 (Ma Gnus v0.10) XEmacs/21.5-b33 (linux)

   > Uwe Brauer <address@hidden> writes:
   > Hi Uwe,

   > Both options have the same effect, so you can choose either one, and
   > neither is better.  I use the first option simply because I almost don't
   > use customize because I want to keep all configurations for a package to
   > be at one place.
Well well

  (add-hook 'LaTeX-mode-hook 'TeX-source-correlate-mode)

This does not work 
| `LaTeX-mode-hook' is a variable declared in Lisp.
|   -- loaded from "latex"
| Value: (preview-mode-setup turn-on-auto-revert-mode
| turn-on-my-footnote-mode turn-on-flyspell my-install-latex-toolbar
| my-set-auto-capitalize turn-on-auto-capitalize-mode turn-on-cdlatex
| my-latex-xsymbol-8bit turn-on-reftex my-LaTeX-TeX-add-symbols
| TeX-source-correlate-mode my-latex-mode-key)
| Documentation:
| A hook run in LaTeX mode buffers.

 But in a Latex buffer I obtain

| `TeX-source-correlate-mode' is a variable declared in Lisp.
|   -- loaded from "tex"
| Value: nil
| Documentation:
| Non-nil if Tex-Source-Correlate mode is enabled.
| See the command `TeX-source-correlate-mode' for a description of this 
| Setting this variable directly does not take effect;
| use either M-? C or the function `TeX-source-correlate-mode'.

Is this a bug?


Attachment: smime.p7s
Description: S/MIME cryptographic signature

reply via email to

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