[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Set LaTeX-math-abbrev-prefix
From: |
Kevin Rodgers |
Subject: |
Re: Set LaTeX-math-abbrev-prefix |
Date: |
Mon, 23 Jun 2008 06:56:03 -0600 |
User-agent: |
Thunderbird 2.0.0.14 (Macintosh/20080421) |
Florian.Lindner@xgm.de wrote:
Hello,
I try to set this variable to another value which is easier to reach
on my keyboard.
(add-hook 'LaTeX-mode-hook
(lambda ()
(local-set-key (kbd "RET") 'reindent-then-newline-and-indent)
(local-set-key (kbd "C-c SPC") 'LaTeX-math-mode)
(setq LaTeX-math-abbrev-prefix (kbd "#"))))
C-h v says it has the correct value but it does not work. It also
says:
"Setting this variable directly does not take effect; use M-x
customize."
However I would prefer not using customize. How can I set this
variable manually?
To set the variable interactively, use M-x customize. To set it
programatically e.g. in a hook:
(customize-set-variable 'LaTeX-math-abbrev-prefix (kbd "#"))
--
Kevin Rodgers
Denver, Colorado, USA