diff options
| author | Stefan Kangas | 2022-05-29 06:30:21 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-05-29 06:30:21 +0200 |
| commit | 6303cb7e9ff06e468d970a51cd87ece21d279b56 (patch) | |
| tree | 4eb4f3ddaa535ed4adfaf584d84c2c9b1b4e50d2 /admin/admin.el | |
| parent | c92d73d271038c93a72c059ed0190bc09b95026d (diff) | |
| parent | f9ee83bfb9f09a32ca8c15385f0cd3ec12ebde8c (diff) | |
| download | emacs-6303cb7e9ff06e468d970a51cd87ece21d279b56.tar.gz emacs-6303cb7e9ff06e468d970a51cd87ece21d279b56.zip | |
Merge from origin/emacs-28
f9ee83bfb9 do_switch_frame: before leaving mini-window, check other (...
908e2e09d0 Fix commands used to produce on-line HTML docs
fff770fb97 Fix a bad cross-reference in elisp.pdf
ebea3415b0 Fix documentation of 'string-pad'
Diffstat (limited to 'admin/admin.el')
| -rw-r--r-- | admin/admin.el | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/admin/admin.el b/admin/admin.el index 8c68b181831..6be378b9246 100644 --- a/admin/admin.el +++ b/admin/admin.el | |||
| @@ -351,11 +351,13 @@ Optional argument TYPE is type of output (nil means all)." | |||
| 351 | \"https://www.w3.org/TR/html4/loose.dtd\">\n\n") | 351 | \"https://www.w3.org/TR/html4/loose.dtd\">\n\n") |
| 352 | 352 | ||
| 353 | (defconst manual-meta-string | 353 | (defconst manual-meta-string |
| 354 | "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"> | 354 | "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\n") |
| 355 | <link rev=\"made\" href=\"mailto:bug-gnu-emacs@gnu.org\"> | 355 | |
| 356 | (defconst manual-links-string | ||
| 357 | "<link rev=\"made\" href=\"mailto:bug-gnu-emacs@gnu.org\"> | ||
| 356 | <link rel=\"icon\" type=\"image/png\" href=\"/graphics/gnu-head-mini.png\"> | 358 | <link rel=\"icon\" type=\"image/png\" href=\"/graphics/gnu-head-mini.png\"> |
| 357 | <meta name=\"ICBM\" content=\"42.256233,-71.006581\"> | 359 | <meta name=\"ICBM\" content=\"42.256233,-71.006581\"> |
| 358 | <meta name=\"DC.title\" content=\"gnu.org\">\n\n") | 360 | <meta name=\"DC.title\" content=\"gnu.org\">\n") |
| 359 | 361 | ||
| 360 | (defconst manual-style-string "<style type=\"text/css\"> | 362 | (defconst manual-style-string "<style type=\"text/css\"> |
| 361 | @import url('/software/emacs/manual.css');\n</style>\n") | 363 | @import url('/software/emacs/manual.css');\n</style>\n") |
| @@ -486,6 +488,12 @@ the @import directive." | |||
| 486 | (delete-region opoint (point)) | 488 | (delete-region opoint (point)) |
| 487 | (search-forward "<meta http-equiv=\"Content-Style") | 489 | (search-forward "<meta http-equiv=\"Content-Style") |
| 488 | (setq opoint (match-beginning 0))) | 490 | (setq opoint (match-beginning 0))) |
| 491 | (search-forward "</title>\n") | ||
| 492 | (delete-region opoint (point)) | ||
| 493 | (search-forward "<link href=") | ||
| 494 | (goto-char (match-beginning 0)) | ||
| 495 | (insert manual-links-string) | ||
| 496 | (setq opoint (point)) | ||
| 489 | (search-forward "</head>") | 497 | (search-forward "</head>") |
| 490 | (goto-char (match-beginning 0)) | 498 | (goto-char (match-beginning 0)) |
| 491 | (delete-region opoint (point)) | 499 | (delete-region opoint (point)) |