From aeac24349a3cb72a07fc0b5e9edd97575ac302a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Engdeg=C3=A5rd?= Date: Thu, 30 Oct 2025 13:29:32 +0100 Subject: [PATCH] ; * lisp/subr.el (version-to-list): Completely wrong indentation. --- lisp/subr.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lisp/subr.el b/lisp/subr.el index 216ad5eb4ab..ef08618f467 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -7266,15 +7266,15 @@ See documentation for `version-separator' and `version-regexp-alist'." (setq al (cdr al))) (cond (al (push (cdar al) lst)) - ;; Convert 22.3a to 22.3.1, 22.3b to 22.3.2, etc., but only if - ;; the letter is the end of the version-string, to avoid - ;; 22.8X3 being valid - ((and (string-match "^[-._+ ]?\\([a-zA-Z]\\)$" s) - (= i (length ver))) + ;; Convert 22.3a to 22.3.1, 22.3b to 22.3.2, etc., but only if + ;; the letter is the end of the version-string, to avoid + ;; 22.8X3 being valid + ((and (string-match "^[-._+ ]?\\([a-zA-Z]\\)$" s) + (= i (length ver))) (push (- (aref (downcase (match-string 1 s)) 0) ?a -1) lst)) (t (error "Invalid version syntax: `%s'" ver)))))) - (nreverse lst)))) + (nreverse lst)))) (defun version-list-< (l1 l2) "Return t if L1, a list specification of a version, is lower than L2.