Skip to content

Commit

Permalink
Don't bug out in manual-html-fix-index-2 on newer makeinfo versions
Browse files Browse the repository at this point in the history
* admin/admin.el (manual-html-fix-index-2): Don't bug out if the
makeinfo version doesn't include <ul>.
  • Loading branch information
larsmagne committed Jul 4, 2022
1 parent f133336 commit e0e3f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/admin.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e0e3f2b

Please sign in to comment.