1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

Accept texi2any for version identification

* lisp/info.el (Info-file-supports-index-cookies): Accept texi2any
for version identification.  (Bug#74042)
This commit is contained in:
Mats Lidell 2024-10-27 09:11:16 +01:00 committed by Stefan Kangas
parent aaefb67f54
commit 4af5b79401

View 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))