From: Lars Ingebrigtsen Date: Mon, 4 Jul 2022 10:47:16 +0000 (+0200) Subject: Preserve in the Emacs manuals X-Git-Tag: emacs-28.1.91~69 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=724f712ef17d4a248048d97a8c9b72f95fcf0914;p=emacs.git Preserve <title> in the Emacs manuals Backport from master. * admin/admin.el (manual-html-fix-headers): Preserve the <title> element (bug#48334). (cherry picked from commit b778e71af7ca8c59917334b4bb1b34cdb52faca9) --- diff --git a/admin/admin.el b/admin/admin.el index 57d5afb23b7..2a597e624bc 100644 --- a/admin/admin.el +++ b/admin/admin.el @@ -477,10 +477,11 @@ the @import directive." (delete-region opoint (point)) (search-forward "<meta http-equiv=\"Content-Style") (setq opoint (match-beginning 0))) + (search-forward "<title>") + (delete-region opoint (match-beginning 0)) (search-forward "\n") - (delete-region opoint (point)) - (search-forward "")