branch: externals/auctex
commit 7fa094f93198ec0b7f94e3a93dd1125be28bc9d9
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
; * style/tabulary.el ("tabulary"): Really append the entry.
---
style/tabulary.el | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/style/tabulary.el b/style/tabulary.el
index be4b114..6b309e0 100644
--- a/style/tabulary.el
+++ b/style/tabulary.el
@@ -1,6 +1,6 @@
;;; tabulary.el --- AUCTeX style for the tabulary package. -*-
lexical-binding: t; -*-
-;; Copyright (C) 2013-2016, 2020 Free Software Foundation, Inc.
+;; Copyright (C) 2013-2016, 2020, 2021 Free Software Foundation, Inc.
;; Author: Mads Jensen <[email protected]>
;; Maintainer: [email protected]
@@ -42,10 +42,13 @@
(lambda ()
;; Make tabulary the default tabular environment
(setq LaTeX-default-tabular-environment "tabulary")
+
;; Use the enhanced tabular indentation. Append to
- ;; `LaTeX-indent-environment-list' in order not to override custom settings.
+ ;; `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))
+ '("tabulary" LaTeX-indent-tabular)
+ t)
;; Append tabulary to `LaTeX-item-list' with `LaTeX-item-tabular*'
(add-to-list 'LaTeX-item-list '("tabulary" . LaTeX-item-tabular*) t)