1 |
;;; imenu.el --- framework for mode-specific buffer indexes |
;;; imenu.el --- framework for mode-specific buffer indexes |
2 |
|
|
3 |
;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 2003 Free Software Foundation, Inc. |
;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 2003, 2004 |
4 |
|
;; Free Software Foundation, Inc. |
5 |
|
|
6 |
;; Author: Ake Stenhoff <etxaksf@aom.ericsson.se> |
;; Author: Ake Stenhoff <etxaksf@aom.ericsson.se> |
7 |
;; Lars Lindberg <lli@sypro.cap.se> |
;; Lars Lindberg <lli@sypro.cap.se> |
256 |
file. |
file. |
257 |
|
|
258 |
The function should leave point at the place to be connected to the |
The function should leave point at the place to be connected to the |
259 |
index and it should return nil when it doesn't find another index. |
index and it should return nil when it doesn't find another index.") |
|
|
|
|
This variable is local in all buffers.") |
|
260 |
;;;###autoload |
;;;###autoload |
261 |
(make-variable-buffer-local 'imenu-prev-index-position-function) |
(make-variable-buffer-local 'imenu-prev-index-position-function) |
262 |
|
|
266 |
|
|
267 |
This function is called after `imenu-prev-index-position-function' |
This function is called after `imenu-prev-index-position-function' |
268 |
finds a position for an index item, with point at that position. |
finds a position for an index item, with point at that position. |
269 |
It should return the name for that index item. |
It should return the name for that index item.") |
|
|
|
|
This variable is local in all buffers.") |
|
270 |
;;;###autoload |
;;;###autoload |
271 |
(make-variable-buffer-local 'imenu-extract-index-name-function) |
(make-variable-buffer-local 'imenu-extract-index-name-function) |
272 |
|
|
280 |
If nil, comparison is done with `string='. |
If nil, comparison is done with `string='. |
281 |
Set this to some other function for more advanced comparisons, |
Set this to some other function for more advanced comparisons, |
282 |
such as \"begins with\" or \"name matches and number of |
such as \"begins with\" or \"name matches and number of |
283 |
arguments match\". |
arguments match\".") |
|
|
|
|
This variable is local in all buffers.") |
|
284 |
;;;###autoload |
;;;###autoload |
285 |
(make-variable-buffer-local 'imenu-name-lookup-function) |
(make-variable-buffer-local 'imenu-name-lookup-function) |
286 |
|
|
448 |
"The buffer index computed for this buffer in Imenu. |
"The buffer index computed for this buffer in Imenu. |
449 |
Simple elements in the alist look like (INDEX-NAME . INDEX-POSITION). |
Simple elements in the alist look like (INDEX-NAME . INDEX-POSITION). |
450 |
Special elements look like (INDEX-NAME INDEX-POSITION FUNCTION ARGUMENTS...). |
Special elements look like (INDEX-NAME INDEX-POSITION FUNCTION ARGUMENTS...). |
451 |
A nested sub-alist element looks like (INDEX-NAME SUB-ALIST). |
A nested sub-alist element looks like (INDEX-NAME SUB-ALIST).") |
|
|
|
|
This variable is local in all buffers, once set.") |
|
452 |
|
|
453 |
(make-variable-buffer-local 'imenu--index-alist) |
(make-variable-buffer-local 'imenu--index-alist) |
454 |
|
|