emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 28c5c27162 2/2: Don't bug out in manual-html-fix-index-2 on new


From: Robert Pluim
Subject: emacs-28 28c5c27162 2/2: Don't bug out in manual-html-fix-index-2 on newer makeinfo versions
Date: Mon, 4 Jul 2022 08:15:24 -0400 (EDT)

branch: emacs-28
commit 28c5c27162f227a1aae466de9ad52fb146ce63c2
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Robert Pluim <rpluim@gmail.com>

    Don't bug out in manual-html-fix-index-2 on newer makeinfo versions
    
    Backport from master.
    
    * admin/admin.el (manual-html-fix-index-2): Don't bug out if the
    makeinfo version doesn't include <ul>.
    
    (cherry picked from commit e0e3f2b672bc42da52ac9c7596c7560a88684651)
---
 admin/admin.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/admin/admin.el b/admin/admin.el
index 2a597e624b..67cbf85a32 100644
--- a/admin/admin.el
+++ b/admin/admin.el
@@ -607,7 +607,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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]