# HG changeset patch # User Richard M. Stallman # Date 816539584 0 # Node ID 1121cd08e87f9eebc7c739b12485f8590730e1a5 # Parent c66885b6330c251e47141cc00a24869828ed1260 (Info-complete-menu-item): Don't treat `* Menu:' as a menu item. diff -r c66885b6330c -r 1121cd08e87f lisp/info.el --- 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) ":")