about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/emacs-pkgs/tvl/tvl.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/emacs-pkgs/tvl/tvl.el b/tools/emacs-pkgs/tvl/tvl.el
index 6888de3571b6..4eace3e35cbb 100644
--- a/tools/emacs-pkgs/tvl/tvl.el
+++ b/tools/emacs-pkgs/tvl/tvl.el
@@ -128,7 +128,7 @@ passes. This is potentially dangerous, use with care."
                     (-max-by
                      (-on #'> (lambda (ref)
                                 (string-to-number
-                                 (fifth (split-string ref (rx "/"))))))
+                                 (nth 4 (split-string ref (rx "/"))))))
                      (-remove
                       (apply-partially #'s-ends-with-p "meta")
                       (cdr cl-to-refs)))))