branch: externals/auctex
commit 4a12225b077b1571b0624ee3ed09fbda0f778193
Author: Arash Esbati <[email protected]>
Commit: Mosè Giordano <[email protected]>
Use `LaTeX-add-counters' on "LTchunksize".
* style/longtable.el ("longtable"): Use `LaTeX-add-counters' on
"LTchunksize" and not `TeX-add-symbols'.
Signed-off-by: Mosè Giordano <[email protected]>
---
ChangeLog | 3 +++
style/longtable.el | 5 +++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1754c48..ec8171c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2015-10-08 Arash Esbati <[email protected]>
+ * style/longtable.el ("longtable"): Use `LaTeX-add-counters' on
+ "LTchunksize" and not `TeX-add-symbols'.
+
* style/enumitem.el (LaTeX-arg-SetEnumitemKey): Remove unused
`prompt' from arguments list.
(LaTeX-arg-SetEnumitemValue): ditto.
diff --git a/style/longtable.el b/style/longtable.el
index 3363119..6c9aeaf 100644
--- a/style/longtable.el
+++ b/style/longtable.el
@@ -58,8 +58,6 @@
(LaTeX-newline)
(indent-according-to-mode)))))))
(TeX-add-symbols
- ;; Parameter
- '("LTchunksize" 0)
;; Commands to end table rows
'("endhead" 0)
'("endfirsthead" 0)
@@ -72,6 +70,9 @@
(LaTeX-add-lengths
"LTleft" "LTright" "LTpre" "LTpost" "LTcapwidth")
+ ;; This parameter is set with \setcounter
+ (LaTeX-add-counters "LTchunksize")
+
;; Use the enhanced table formatting
(add-to-list 'LaTeX-indent-environment-list
'("longtable" LaTeX-indent-tabular))