branch: master
commit 70422fe0c7e283e6bfe69cbb75bd31feb3030f22
Author: Arash Esbati <ar...@gnu.org>
Commit: Arash Esbati <ar...@gnu.org>

    * style/tabularray.el ("tabularray"): Load ninecolors.el.
---
 style/tabularray.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/style/tabularray.el b/style/tabularray.el
index 05ef263d..4b5abcff 100644
--- a/style/tabularray.el
+++ b/style/tabularray.el
@@ -298,6 +298,10 @@ insert line break macro."
    (LaTeX-tabularray-NewTblrEnviron-cleanup)
    (LaTeX-tabularray-update-column-letters)
 
+   ;; Load ninecolors.el if xcolor.el is loaded:
+   (when (member "xcolor" (TeX-style-list))
+     (TeX-run-style-hooks "ninecolors"))
+
    (TeX-add-symbols
     ;; 2.6.2 Column Types
     '("NewColumnType"

Reply via email to