1406 |
(defvar Info-complete-cache nil) |
(defvar Info-complete-cache nil) |
1407 |
|
|
1408 |
(defun Info-complete-menu-item (string predicate action) |
(defun Info-complete-menu-item (string predicate action) |
1409 |
|
;; This uses two dynamically bound variables: |
1410 |
|
;; - `Info-complete-menu-buffer' which contains the buffer in which |
1411 |
|
;; is the menu of items we're trying to complete. |
1412 |
|
;; - `Info-complete-next-re' which, if non-nil, indicates that we should |
1413 |
|
;; also look for menu items in subsequent nodes as long as those |
1414 |
|
;; nodes' names match `Info-complete-next-re'. This feature is currently |
1415 |
|
;; only used for completion in Info-index. |
1416 |
(save-excursion |
(save-excursion |
1417 |
(set-buffer Info-complete-menu-buffer) |
(set-buffer Info-complete-menu-buffer) |
1418 |
(let ((completion-ignore-case t) |
(let ((completion-ignore-case t) |