]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't bug out in manual-html-fix-index-2 on newer makeinfo versions
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 4 Jul 2022 10:37:17 +0000 (12:37 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 4 Jul 2022 10:37:17 +0000 (12:37 +0200)
* admin/admin.el (manual-html-fix-index-2): Don't bug out if the
makeinfo version doesn't include <ul>.

admin/admin.el

index 6be378b924603e18c2675ca493e378f33ec31f70..2d809313ca4a91968889efbccb3f0a5f3922f2c6 100644 (file)
@@ -617,7 +617,7 @@ style=\"text-align:left\">")
       ;; its original form.
       (when (or (search-forward "<ul class=\"menu\">" nil t)
                ;; FIXME?  The following search seems dangerously lax.
-               (search-forward "<ul>"))
+               (search-forward "<ul>" nil t))
         ;; Convert the list that Makeinfo made into a table.
         (replace-match "<table style=\"float:left\" width=\"100%\">")
         (forward-line 1)