branch: externals/auctex commit 945035c9c12a9930cb84491f3b6e0d30e1672798 Author: Arash Esbati <arash.esb...@gmail.com> Commit: Arash Esbati <arash.esb...@gmail.com>
Append tabular[xy] to `LaTeX-item-list' * style/tabulary.el ("tabulary"): * style/tabularx.el ("tabularx"): Append tabularx and tabulary to `LaTeX-item-list'. --- style/tabularx.el | 4 ++++ style/tabulary.el | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/style/tabularx.el b/style/tabularx.el index 63a1272..2d484db 100644 --- a/style/tabularx.el +++ b/style/tabularx.el @@ -43,6 +43,10 @@ ;; `LaTeX-indent-environment-list' in order not to override custom settings. (add-to-list (make-local-variable 'LaTeX-indent-environment-list) '("tabularx" LaTeX-indent-tabular) t) + + ;; Append tabularx to `LaTeX-item-list' with `LaTeX-item-tabular*' + (add-to-list 'LaTeX-item-list '("tabularx" . LaTeX-item-tabular*) t) + ;; New symbols (TeX-add-symbols "tracingtabularx" diff --git a/style/tabulary.el b/style/tabulary.el index 289401e..aa0fcf5 100644 --- a/style/tabulary.el +++ b/style/tabulary.el @@ -43,6 +43,10 @@ ;; `LaTeX-indent-environment-list' in order not to override custom settings. (add-to-list (make-local-variable 'LaTeX-indent-environment-list) '("tabulary" LaTeX-indent-tabular)) + + ;; Append tabulary to `LaTeX-item-list' with `LaTeX-item-tabular*' + (add-to-list 'LaTeX-item-list '("tabulary" . LaTeX-item-tabular*) t) + ;; New symbols (TeX-add-symbols "tymax" "tymin" "tyformat")