emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex 1202f83 19/28: Add `X' to `LaTeX-array-column-le


From: Tassilo Horn
Subject: [elpa] externals/auctex 1202f83 19/28: Add `X' to `LaTeX-array-column-letters'.
Date: Fri, 07 Aug 2015 15:59:24 +0000

branch: externals/auctex
commit 1202f8321edbaecbfcd03dde22804c87ce95ce8a
Author: Arash Esbati <address@hidden>
Commit: Mosè Giordano <address@hidden>

    Add `X' to `LaTeX-array-column-letters'.
    
    Signed-off-by: Mosè Giordano <address@hidden>
---
 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  <address@hidden>
 
+       * 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 <address@hidden>
 ;; 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]