Commit 763da090 authored by Richard M. Stallman's avatar Richard M. Stallman

(Info-complete-menu-item): Don't treat `* Menu:' as a menu item.

parent 5e69f11e
......@@ -943,6 +943,7 @@ NAME may be an abbreviation of the reference name."
(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 @@ NAME may be an abbreviation of the reference name."
(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 @@ NAME may be an abbreviation of the reference name."
(save-excursion
(set-buffer Info-complete-menu-buffer)
(goto-char (point-min))
(search-forward "\n* Menu:")
(re-search-forward (concat "\n\\* "
(regexp-quote string)
":")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment