branch: externals/auctex
commit c57465b7e1ed6693fdfcae2f77a92d4f350cedfe
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
; * style/imakeidx.el: Use `defvar-local'.
---
style/imakeidx.el | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/style/imakeidx.el b/style/imakeidx.el
index ef434137b3..216dca12fa 100644
--- a/style/imakeidx.el
+++ b/style/imakeidx.el
@@ -1,6 +1,6 @@
;;; imakeidx.el --- AUCTeX style for `imakeidx.sty'. -*- lexical-binding: t;
-*-
-;; Copyright (C) 2012-2022 Free Software Foundation, Inc.
+;; Copyright (C) 2012-2023 Free Software Foundation, Inc.
;; Maintainer: [email protected]
;; Author: Mosè Giordano <[email protected]>
@@ -49,13 +49,12 @@
("columnseprule" ("true" "false")))
"Key=value options for makeindex macro of the imakeidx package.")
-(defvar LaTeX-imakeidx-indexsetup-options
- '(("level")
- ("toclevel")
- ("noclearpage" ("true" "false"))
- ("othercode"))
+(defvar-local LaTeX-imakeidx-indexsetup-options
+ '(("level")
+ ("toclevel")
+ ("noclearpage" ("true" "false"))
+ ("othercode"))
"Key=value options for indexsetup macro of the imakeidx package.")
-(make-variable-buffer-local 'LaTeX-imakeidx-indexsetup-options)
(TeX-add-style-hook
"imakeidx"