Mercurial > emacs
changeset 13566:1121cd08e87f
(Info-complete-menu-item): Don't treat `* Menu:' as a menu item.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 16 Nov 1995 16:33:04 +0000 |
parents | c66885b6330c |
children | 051b4ffca31f |
files | lisp/info.el |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/info.el Thu Nov 16 02:51:19 1995 +0000 +++ b/lisp/info.el Thu Nov 16 16:33:04 1995 +0000 @@ -943,6 +943,7 @@ (save-excursion (set-buffer Info-complete-menu-buffer) (goto-char (point-min)) + (search-forward "\n* Menu:") (while (re-search-forward pattern nil t) (setq completions (cons (cons (format "%s" (buffer-substring @@ -959,6 +960,7 @@ (save-excursion (set-buffer Info-complete-menu-buffer) (goto-char (point-min)) + (search-forward "\n* Menu:") (while (re-search-forward pattern nil t) (setq completions (cons (cons (format "%s" (buffer-substring @@ -971,6 +973,7 @@ (save-excursion (set-buffer Info-complete-menu-buffer) (goto-char (point-min)) + (search-forward "\n* Menu:") (re-search-forward (concat "\n\\* " (regexp-quote string) ":")