monnier pushed a commit to branch externals/auctex in repository elpa. commit dbfeef8ebcb185734ddf77f8f0e11ce451999fff Author: Ralf Angeli <ang...@caeruleus.net> Date: Mon Jan 7 20:28:18 2013 +0000
* style/footmisc.el ("footmisc"): Remove fontification settings for length macros. * style/mathtools.el ("mathtools"): Prevent amsmath options from being added multiple times. --- ChangeLog | 8 ++++++++ style/footmisc.el | 9 +-------- style/mathtools.el | 5 ++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index c1250eb..7fc3107 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2013-01-07 Ralf Angeli <ang...@caeruleus.net> + + * style/mathtools.el ("mathtools"): Prevent amsmath options from + being added multiple times. + + * style/footmisc.el ("footmisc"): Remove fontification settings + for length macros. + 2013-01-06 Ralf Angeli <ang...@caeruleus.net> * style/mathtools.el ("mathtools"): Append amsmath options to diff --git a/style/footmisc.el b/style/footmisc.el index 5bfca96..2efe526 100644 --- a/style/footmisc.el +++ b/style/footmisc.el @@ -60,14 +60,7 @@ ("DefineFNsymbolsTM" "{{") ("DefineFNsymbolsTM*" "{{") ("setfnsymbol" "{")) 'function) - (font-latex-add-keywords '(("footnoteref")) 'reference) - (font-latex-add-keywords '(("hangfootparindent") - ("hangfootparskip") - ("footnotehint") - ("pagefootnoterule") - ("splitfootnoterule") - ("footnotemargin") - ("mpfootnoterule")) 'length)))) + (font-latex-add-keywords '(("footnoteref")) 'reference)))) (defvar LaTeX-footmisc-package-options '("perpage" "side" "ragged" "para" "symbol" "symbol*" diff --git a/style/mathtools.el b/style/mathtools.el index 102e25d..5934825 100644 --- a/style/mathtools.el +++ b/style/mathtools.el @@ -63,9 +63,8 @@ ;; mathtools requires amsmath, as some bugs in amsmath are fixed (TeX-run-style-hooks "amsmath") - (setq LaTeX-mathtools-package-options - (append LaTeX-mathtools-package-options - LaTeX-amsmath-package-options)) + (dolist (elt LaTeX-amsmath-package-options) + (add-to-list 'LaTeX-mathtools-package-options elt)) (LaTeX-add-environments '("lgathered" LaTeX-amsmath-env-aligned)