]> git.eshelyaron.com Git - emacs.git/commitdiff
Update Info-toc-build parsing
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 12 Dec 2020 12:33:09 +0000 (13:33 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 12 Dec 2020 12:34:25 +0000 (13:34 +0100)
* lisp/info.el (Info-toc-build): Update to understand EMDASH
instead of a hyphen in the detailed node listing (bug#28074).

lisp/info.el

index 203f5db96d2a2498141bc939cbe6663d5f6169f4..ad94c9edee09e3adfb76c2889db413dfecd83eb4 100644 (file)
@@ -2473,7 +2473,7 @@ Table of contents is created from the tree structure of menus."
               (setq bound (or (and (equal nodename "Top")
                                    (save-excursion
                                      (re-search-forward
-                                      "^[ \t-]*The Detailed Node Listing" nil t)))
+                                      "^[ \t-]*The Detailed Node Listing" nil t)))
                               bound))
               (while (< (point) bound)
                 (cond