From: Lars Ingebrigtsen Date: Sat, 12 Dec 2020 12:33:09 +0000 (+0100) Subject: Update Info-toc-build parsing X-Git-Tag: emacs-28.0.90~4761 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ad0bbcd565743635a9c9a8dae176c7d38c532ef8;p=emacs.git Update Info-toc-build parsing * lisp/info.el (Info-toc-build): Update to understand EMDASH instead of a hyphen in the detailed node listing (bug#28074). --- diff --git a/lisp/info.el b/lisp/info.el index 203f5db96d2..ad94c9edee0 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -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