branch: externals/auctex commit 76db91e3b6426ca56a2be4e9089aa5c9994629d9 Author: Arash Esbati <arash.esb...@gmail.com> Commit: Arash Esbati <arash.esb...@gmail.com>
Accept non-letter characters as column specifier * style/array.el (LaTeX-array-newcolumntype-regexp): Accept non-letter characters as column specifier. --- style/array.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style/array.el b/style/array.el index 645371d..721e9de 100644 --- a/style/array.el +++ b/style/array.el @@ -34,7 +34,7 @@ (TeX-auto-add-type "array-newcolumntype" "LaTeX") (defvar LaTeX-array-newcolumntype-regexp - '("\\\\newcolumntype{\\([a-zA-Z]+\\)}" + '("\\\\newcolumntype{\\([^}]+\\)}" 1 LaTeX-auto-array-newcolumntype) "Matches the argument of `\\newcolumntype' from `array' package.")