# HG changeset patch # User Stefan Monnier # Date 1007353603 0 # Node ID b04cfaf9585d30f680bc236f3409d35eca2f5791 # Parent 9dae8e2d43ba5c5cefc083c69deef42da220ce59 Add explanatory comment. diff -r 9dae8e2d43ba -r b04cfaf9585d lisp/info.el --- a/lisp/info.el Mon Dec 03 03:09:56 2001 +0000 +++ b/lisp/info.el Mon Dec 03 04:26:43 2001 +0000 @@ -1406,6 +1406,13 @@ (defvar Info-complete-cache nil) (defun Info-complete-menu-item (string predicate action) + ;; This uses two dynamically bound variables: + ;; - `Info-complete-menu-buffer' which contains the buffer in which + ;; is the menu of items we're trying to complete. + ;; - `Info-complete-next-re' which, if non-nil, indicates that we should + ;; also look for menu items in subsequent nodes as long as those + ;; nodes' names match `Info-complete-next-re'. This feature is currently + ;; only used for completion in Info-index. (save-excursion (set-buffer Info-complete-menu-buffer) (let ((completion-ignore-case t)