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

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

[elpa] externals/indent-bars a1a032a727 4/5: Specify match-string correc


From: ELPA Syncer
Subject: [elpa] externals/indent-bars a1a032a727 4/5: Specify match-string correctly
Date: Sat, 28 Sep 2024 15:58:17 -0400 (EDT)

branch: externals/indent-bars
commit a1a032a72709ce5af13cdb7facf0e075cd11a1b5
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>

    Specify match-string correctly
---
 indent-bars.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indent-bars.el b/indent-bars.el
index 95a6ee3ce8..86dae3e9ff 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -530,7 +530,7 @@ returned."
           (mapcan
            (lambda (x)
              (let ((n (symbol-name x)))
-               (when (and (string-match regexp n) (match-string 1))
+               (when (and (string-match regexp n) (match-string 1 n))
                   (list (cons (string-to-number (match-string 1 n)) x)))))
            (face-list)))))
 



reply via email to

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