[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 524e493b 5/9: ; * style/tcolorbox.el: Use `defvar-local'.
From: |
Arash Esbati |
Subject: |
master 524e493b 5/9: ; * style/tcolorbox.el: Use `defvar-local'. |
Date: |
Wed, 20 Dec 2023 08:35:34 -0500 (EST) |
branch: master
commit 524e493ba97d3555787cf2bbf803bf3c16ac5bd3
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
; * style/tcolorbox.el: Use `defvar-local'.
---
style/tcolorbox.el | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/style/tcolorbox.el b/style/tcolorbox.el
index 03ce9669..edc39e23 100644
--- a/style/tcolorbox.el
+++ b/style/tcolorbox.el
@@ -1,6 +1,6 @@
;;; tcolorbox.el --- AUCTeX style for `tcolorbox.sty' (v4.00) -*-
lexical-binding: t; -*-
-;; Copyright (C) 2015--2022 Free Software Foundation, Inc.
+;; Copyright (C) 2015--2023 Free Software Foundation, Inc.
;; Author: Tassilo Horn <tsdh@gnu.org>
;; Maintainer: auctex-devel@gnu.org
@@ -362,15 +362,14 @@
(cl-pushnew (list key colors) result :test #'equal)))
LaTeX-tcolorbox-keyval-options))
-(defvar LaTeX-tcolorbox-keyval-options-full
- '(LaTeX-tcolorbox-keyval-options)
+(defvar-local LaTeX-tcolorbox-keyval-options-full
+ '(LaTeX-tcolorbox-keyval-options)
"Buffer-local list of symbols containing key=val options.
tcolorbox libraries should add their key=val options to this
list. Key=val options might be a variable or a function. This
variable is initialized with the function
`LaTeX-tcolorbox-keyval-options'. Please add entries on top of
this list so that this item always comes last.")
-(make-variable-buffer-local 'LaTeX-tcolorbox-keyval-options-full)
(defun LaTeX-tcolorbox-keyval-options-full ()
"Return an updated list of full key=vals for tcolorbox and libraries.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 524e493b 5/9: ; * style/tcolorbox.el: Use `defvar-local'.,
Arash Esbati <=