>From 89a64d638e5442439d1f3f1ced9bec7ef4245796 Mon Sep 17 00:00:00 2001 From: Arash Esbati
Date: Sat, 18 Jul 2015 09:30:15 +0200 Subject: [PATCH 2/7] Add `X' to `LaTeX-array-column-letters'. --- ChangeLog | 3 +++ style/tabularx.el | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 148c741..94fcf10 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2015-07-18 Arash Esbati + * style/tabularx.el ("tabularx"): Add `X' to + `LaTeX-array-column-letters'. + * style/array.el: Parse user-defined new column types and add them to `LaTeX-array-column-letters'. diff --git a/style/tabularx.el b/style/tabularx.el index a0f3ee3..5cfebc8 100644 --- a/style/tabularx.el +++ b/style/tabularx.el @@ -1,6 +1,6 @@ ;;; tabularx.el --- AUCTeX style for the tabularx package. -;; Copyright (C) 2009, 2013 Free Software Foundation, Inc. +;; Copyright (C) 2009, 2013, 2015 Free Software Foundation, Inc. ;; Author: Ralf Angeli ;; Maintainer: address@hidden @@ -55,7 +55,11 @@ '("tabularx" LaTeX-env-tabular*)) ;; `tabularx' requires array to define the column types - (TeX-run-style-hooks "array")) + (TeX-run-style-hooks "array") + + ;; `tabularx.sty' adds one new column specification letter. + (set (make-local-variable 'LaTeX-array-column-letters) + (concat LaTeX-array-column-letters "X"))) LaTeX-dialect) ;;; tabularx.el ends here -- 2.4.5