]> git.eshelyaron.com Git - emacs.git/commitdiff
Accept texi2any for version identification
authorMats Lidell <mats.lidell@lidells.se>
Sun, 27 Oct 2024 08:11:16 +0000 (09:11 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 29 Oct 2024 09:54:51 +0000 (10:54 +0100)
* lisp/info.el (Info-file-supports-index-cookies): Accept texi2any
for version identification.  (Bug#74042)

(cherry picked from commit 4af5b794015a64f67d878d43ac6cde1bb39b3bd9)

lisp/info.el

index d199918bc1733ffcb65dd4c2456302cf99b17b4e..de5a3374caf5fadebb14c6844cb7eae0382d3d82 100644 (file)
@@ -667,7 +667,7 @@ in `Info-file-supports-index-cookies-list'."
          (goto-char (point-min))
          (condition-case ()
              (if (and (re-search-forward
-                       "makeinfo[ \n]version[ \n]\\([0-9]+.[0-9]+\\)"
+                        "\\(?:makeinfo\\|texi2any\\)[ \n]version[ \n]\\([0-9]+.[0-9]+\\)"
                        (line-beginning-position 4) t)
                       (not (version< (match-string 1) "4.7")))
                  (setq found t))