>> On Sat, 10 Dec 2011 16:00:19 +0100, Carsten Dominik
>> <[email protected]> wrote:
> Hi Uwe,
> I am not able to reproduce this.
> - Carsten
It seems a special configuration of auto-capitalize-mode
with respect to texmathp.
(autoload 'auto-capitalize-mode "auto-capitalize"
"Toggle auto-capitalize minor mode in this buffer." t)
(autoload 'turn-on-auto-capitalize-mode "auto-capitalize"
"Turn on auto-capitalize minor mode in this buffer." t)
(add-hook 'LaTeX-mode-hook 'turn-on-auto-capitalize-mode)
(add-hook 'TeX-mode-hook 'turn-on-auto-capitalize-mode)
;; for auto-cap with LaTeX
(add-hook 'LaTeX-mode-hook
(lambda ()
(set (make-local-variable 'auto-capitalize-predicate)
(lambda () (not (texmathp))))))