emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ad0bbcd: Update Info-toc-build parsing


From: Lars Ingebrigtsen
Subject: master ad0bbcd: Update Info-toc-build parsing
Date: Sat, 12 Dec 2020 07:34:30 -0500 (EST)

branch: master
commit ad0bbcd565743635a9c9a8dae176c7d38c532ef8
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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).
---
 lisp/info.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/info.el b/lisp/info.el
index 203f5db..ad94c9e 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]