auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] [elpa] externals/auctex 0c2eda1940 1/6: Properly destruct


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex 0c2eda1940 1/6: Properly destructure LaTeX-xparse-macro/environment-list entries
Date: Fri, 14 Jan 2022 04:44:36 -0500 (EST)

branch: externals/auctex
commit 0c2eda1940e2efb89006d4353d234ce3cb66ecb0
Author: Andrea Greselin <greselin.andrea@gmail.com>
Commit: Tassilo Horn <tsdh@gnu.org>

    Properly destructure LaTeX-xparse-macro/environment-list entries
    
    * style/xparse.el (LaTeX-xparse-macro-parse): Properly destructure
    LaTeX-xparse-macro/environment-list entries (bug#52872).
    
    Copyright-paperwork-exempt: yes
---
 style/xparse.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/style/xparse.el b/style/xparse.el
index fd9bb328b0..26934f1a2d 100644
--- a/style/xparse.el
+++ b/style/xparse.el
@@ -108,9 +108,9 @@ TYPE is one of the symbols mac or env."
   (dolist (xcmd (if (eq type 'mac)
                     (LaTeX-xparse-macro-list)
                   (LaTeX-xparse-environment-list)))
-    (let ((name (nth 1 xcmd))
-          (spec (nth 2 xcmd))
-          (what (nth 3 xcmd))
+    (let ((name (nth 0 xcmd))
+          (spec (nth 1 xcmd))
+          (what (nth 2 xcmd))
           args opt-star opt-token)
       (with-temp-buffer
         (set-syntax-table LaTeX-mode-syntax-table)




reply via email to

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