On Sun, Mar 17, 2024 at 02:27:11PM +0100, pertu...@free.fr wrote: > > The code that appears to strip the comment out is very short and probably > > not the main source of complexity in the Emacs Lisp program:
> I am not sure that it is that code, as texi5 is defined by, I believe > > let ((texi5 (search-forward "<!DOCTYPE" nil t)) > opoint) > > So it should be set as there is a "<!DOCTYPE" in recent Texinfo > releases. I think that the code you flagged out was there to remove the > CSS or something along for makeinfo <= 4. I expect you are right. > My feeling is that the removal of the Copyright comment is > inentended, as it is left in HTML files split by node. I believe it is > rather because of the following that deletes everything between the > first meta, which should be > <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> > and <title>: > > (search-forward "<title>") > (delete-region opoint (match-beginning 0)) > (search-forward "</title>\n") > > But it is more a wild guess. > > -- > Pat
