diff options
| author | Glenn Morris | 2014-01-03 19:18:33 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-01-03 19:18:33 -0800 |
| commit | a71324ccb69f9e3af5b1c613a60111c8f3885ce0 (patch) | |
| tree | da3815a17cc7e0849a9089bdde045b20f649a26c /admin | |
| parent | 86c6e8fadaa84ae1faac7d3e177e6ad37a629e98 (diff) | |
| download | emacs-a71324ccb69f9e3af5b1c613a60111c8f3885ce0.tar.gz emacs-a71324ccb69f9e3af5b1c613a60111c8f3885ce0.zip | |
* admin/admin.el (manual-html-fix-index-2): Fix minor Texinfo 4 issue
with start of detailed menu.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/ChangeLog | 1 | ||||
| -rw-r--r-- | admin/admin.el | 10 |
2 files changed, 7 insertions, 4 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index d43c95d386b..690689012b0 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | * admin.el (manual-html-fix-node-div): Handle Texinfo 5's movable <hr>. | 3 | * admin.el (manual-html-fix-node-div): Handle Texinfo 5's movable <hr>. |
| 4 | (manual-html-fix-index-2): Tweak Texinfo 5 table format. | 4 | (manual-html-fix-index-2): Tweak Texinfo 5 table format. |
| 5 | Fix minor Texinfo 4 issue with start of detailed menu. | ||
| 5 | 6 | ||
| 6 | 2014-01-03 Glenn Morris <rgm@gnu.org> | 7 | 2014-01-03 Glenn Morris <rgm@gnu.org> |
| 7 | 8 | ||
diff --git a/admin/admin.el b/admin/admin.el index 8f21cedfce5..847a06e35d1 100644 --- a/admin/admin.el +++ b/admin/admin.el | |||
| @@ -508,9 +508,6 @@ style=\"text-align:left\">") | |||
| 508 | ;; The Emacs and Elisp manual have some text at the | 508 | ;; The Emacs and Elisp manual have some text at the |
| 509 | ;; start of the detailed menu that is not part of the menu. | 509 | ;; start of the detailed menu that is not part of the menu. |
| 510 | ;; Other manuals do not. | 510 | ;; Other manuals do not. |
| 511 | ;; FIXME Texinfo 4 branch does not handle this correctly. | ||
| 512 | ;; See eg s/emacs/manual/html_node/eintr/index.html | ||
| 513 | ;; start of "Detailed Node Listing". | ||
| 514 | (if (re-search-forward "in one step:" (line-end-position 3) t) | 511 | (if (re-search-forward "in one step:" (line-end-position 3) t) |
| 515 | (forward-line 1)) | 512 | (forward-line 1)) |
| 516 | (insert "</p>\n") | 513 | (insert "</p>\n") |
| @@ -568,7 +565,12 @@ style=\"text-align:left\">") | |||
| 568 | (replace-match " </td></tr></table>\n | 565 | (replace-match " </td></tr></table>\n |
| 569 | <h3>Detailed Node Listing</h3>\n\n" t t) | 566 | <h3>Detailed Node Listing</h3>\n\n" t t) |
| 570 | (search-forward "<p>") | 567 | (search-forward "<p>") |
| 571 | (search-forward "<p>" nil t) | 568 | ;; FIXME Fragile! |
| 569 | ;; The Emacs and Elisp manual have some text at the | ||
| 570 | ;; start of the detailed menu that is not part of the menu. | ||
| 571 | ;; Other manuals do not. | ||
| 572 | (if (looking-at "Here are some other nodes") | ||
| 573 | (search-forward "<p>")) | ||
| 572 | (goto-char (match-beginning 0)) | 574 | (goto-char (match-beginning 0)) |
| 573 | (skip-chars-backward "\n ") | 575 | (skip-chars-backward "\n ") |
| 574 | (setq open-td nil) | 576 | (setq open-td nil) |