diff options
| author | Stefan Monnier | 2001-12-03 04:26:43 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-12-03 04:26:43 +0000 |
| commit | 2d12f5c2dcdbd8cf10e00e8f31eaf843e0e172f6 (patch) | |
| tree | d63537a688bfc7acbb66867dc8fd03619f2bb443 | |
| parent | eea6cc1f4bdbf7b907fcb700a270d464edd3a155 (diff) | |
| download | emacs-2d12f5c2dcdbd8cf10e00e8f31eaf843e0e172f6.tar.gz emacs-2d12f5c2dcdbd8cf10e00e8f31eaf843e0e172f6.zip | |
Add explanatory comment.
| -rw-r--r-- | lisp/info.el | 7 |
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) |