Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a71324cc
Commit
a71324cc
authored
Jan 03, 2014
by
Glenn Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* admin/admin.el (manual-html-fix-index-2): Fix minor Texinfo 4 issue
with start of detailed menu.
parent
86c6e8fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
admin/ChangeLog
admin/ChangeLog
+1
-0
admin/admin.el
admin/admin.el
+6
-4
No files found.
admin/ChangeLog
View file @
a71324cc
...
...
@@ -2,6 +2,7 @@
* admin.el (manual-html-fix-node-div): Handle Texinfo 5's movable <hr>.
(manual-html-fix-index-2): Tweak Texinfo 5 table format.
Fix minor Texinfo 4 issue with start of detailed menu.
2014-01-03 Glenn Morris <rgm@gnu.org>
...
...
admin/admin.el
View file @
a71324cc
...
...
@@ -508,9 +508,6 @@ style=\"text-align:left\">")
;; The Emacs and Elisp manual have some text at the
;; start of the detailed menu that is not part of the menu.
;; Other manuals do not.
;; FIXME Texinfo 4 branch does not handle this correctly.
;; See eg s/emacs/manual/html_node/eintr/index.html
;; start of "
Detailed
Node
Listing
".
(if (re-search-forward "
in
one
step:
" (line-end-position 3) t)
(forward-line 1))
(insert "
</p>\n
")
...
...
@@ -568,7 +565,12 @@ style=\"text-align:left\">")
(replace-match "
</td></tr></table>\n
<h3>Detailed
Node
Listing</h3>\n\n
" t t)
(search-forward "
<p>
")
(search-forward "
<p>
" nil t)
;; FIXME Fragile!
;; The Emacs and Elisp manual have some text at the
;; start of the detailed menu that is not part of the menu.
;; Other manuals do not.
(if (looking-at "
Here
are
some
other
nodes
")
(search-forward "
<p>
"))
(goto-char (match-beginning 0))
(skip-chars-backward "
\n
")
(setq open-td nil)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment