aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/info.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 660af03c959..164c5e9d1f5 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -1406,6 +1406,13 @@ FOOTNOTENAME may be an abbreviation of the reference name."
1406(defvar Info-complete-cache nil) 1406(defvar Info-complete-cache nil)
1407 1407
1408(defun Info-complete-menu-item (string predicate action) 1408(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.
1409 (save-excursion 1416 (save-excursion
1410 (set-buffer Info-complete-menu-buffer) 1417 (set-buffer Info-complete-menu-buffer)
1411 (let ((completion-ignore-case t) 1418 (let ((completion-ignore-case t)