emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex c9e2845b64 07/25: ; Fix last change


From: Tassilo Horn
Subject: [elpa] externals/auctex c9e2845b64 07/25: ; Fix last change
Date: Mon, 8 Jan 2024 07:59:10 -0500 (EST)

branch: externals/auctex
commit c9e2845b643c377535acf04060761dedda82c3d1
Author: Tony Zorman <soliditsallgood@mailbox.org>
Commit: Arash Esbati <arash@gnu.org>

    ; Fix last change
    
    * tex-fold.el (TeX-fold-expand-spec): Fix reference to free
    variable.
---
 tex-fold.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tex-fold.el b/tex-fold.el
index d4dacc1684..0952bccc77 100644
--- a/tex-fold.el
+++ b/tex-fold.el
@@ -747,7 +747,7 @@ Replace them with the respective macro argument."
            ;; If there is something to replace and the closing delimiter
            ;; matches the opening oneā€¦
            (if-let (((string-match "\\([[{<(]\\)\\([1-9]\\)\\([]}>)]\\)"
-                                   elt index))
+                                   spec index))
                     (open (string-to-char (match-string 1 spec)))
                     (num (string-to-number (match-string 2 spec)))
                     (close (string-to-char (match-string 3 spec)))



reply via email to

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