# HG changeset patch # User Richard M. Stallman # Date 752964369 0 # Node ID 67810bbdfc9d30412022d7a3f7d4fb0adf77e03a # Parent 82353ffa44b70fc9fcd42a1cd24a3c6145ce4b2c (Info-extract-menu-item): Quote `*' in the menu-item leadin re-search to prevent us from finding node names which contain the text of another node name within them. diff -r 82353ffa44b7 -r 67810bbdfc9d lisp/info.el --- a/lisp/info.el Wed Nov 10 20:44:14 1993 +0000 +++ b/lisp/info.el Wed Nov 10 20:46:09 1993 +0000 @@ -844,8 +844,8 @@ (goto-char (point-min)) (or (search-forward "\n* menu:" nil t) (error "No menu in this node")) - (or (re-search-forward (concat "\n* " menu-item ":") nil t) - (re-search-forward (concat "\n* " menu-item) nil t) + (or (re-search-forward (concat "\n\\* " menu-item ":") nil t) + (re-search-forward (concat "\n\\* " menu-item) nil t) (error "No such item in menu")) (beginning-of-line) (forward-char 2)