auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c57465b7 4/9: ; * style/imakeidx.el: Use `defvar-local'.


From: Arash Esbati
Subject: master c57465b7 4/9: ; * style/imakeidx.el: Use `defvar-local'.
Date: Wed, 20 Dec 2023 08:35:34 -0500 (EST)

branch: master
commit c57465b7e1ed6693fdfcae2f77a92d4f350cedfe
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    ; * 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 ef434137..216dca12 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: auctex-devel@gnu.org
 ;; Author: Mosè Giordano <giordano.mose@libero.it>
@@ -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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]