Mercurial > emacs
diff lisp/info.el @ 4967:67810bbdfc9d
(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.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 10 Nov 1993 20:46:09 +0000 |
parents | 5e9224dac452 |
children | 261b0de9eae1 |
line wrap: on
line diff
--- 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)