1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 00:32:12 -07:00

Add explanatory comment.

This commit is contained in:
Stefan Monnier 2001-12-03 04:26:43 +00:00
parent eea6cc1f4b
commit 2d12f5c2dc

View file

@ -1406,6 +1406,13 @@ FOOTNOTENAME may be an abbreviation of the reference name."
(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)