summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-12-12 13:33:09 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2020-12-12 13:34:25 +0100
commitad0bbcd565743635a9c9a8dae176c7d38c532ef8 (patch)
treee2143b495ebf75598c1a8487b021d491e188bf13
parentf22e4bbf1cf351bf705b73418adf22949b280d0d (diff)
downloademacs-ad0bbcd565743635a9c9a8dae176c7d38c532ef8.tar.gz
emacs-ad0bbcd565743635a9c9a8dae176c7d38c532ef8.tar.bz2
emacs-ad0bbcd565743635a9c9a8dae176c7d38c532ef8.zip
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).
-rw-r--r--lisp/info.el2
1 files changed, 1 insertions, 1 deletions
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