changeset 22798:434ac4a14be3

(imenu-create-index-function): Add autoload cookie. (imenu-extract-index-name-function, imenu-default-goto-function) (imenu-sort-function, imenu-prev-index-position-function): Likewise.
author Richard M. Stallman <rms@gnu.org>
date Wed, 22 Jul 1998 02:29:27 +0000
parents 2311a799a981
children 81edc8f95cd9
files lisp/imenu.el
diffstat 1 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/imenu.el	Wed Jul 22 00:31:24 1998 +0000
+++ b/lisp/imenu.el	Wed Jul 22 02:29:27 1998 +0000
@@ -116,6 +116,7 @@
 		 (other :tag "Always" t))
   :group 'imenu)
 
+;;;###autoload
 (defcustom imenu-sort-function nil
   "*The function to use for sorting the index mouse-menu.
 
@@ -208,6 +209,7 @@
 
 ;;;; Hooks
 
+;;;###autoload
 (defvar imenu-create-index-function 'imenu-default-create-index-function
   "The function to use for creating a buffer index.
 
@@ -223,8 +225,10 @@
 This function is called within a `save-excursion'.
 
 The variable is buffer-local.")
+;;;###autoload
 (make-variable-buffer-local 'imenu-create-index-function)
 
+;;;###autoload
 (defvar imenu-prev-index-position-function 'beginning-of-defun
   "Function for finding the next index position.
 
@@ -237,9 +241,10 @@
 index and it should return nil when it doesn't find another index.
 
 This variable is local in all buffers.")
-
+;;;###autoload
 (make-variable-buffer-local 'imenu-prev-index-position-function)
 
+;;;###autoload
 (defvar imenu-extract-index-name-function nil
   "Function for extracting the index item name, given a position.
 
@@ -248,12 +253,14 @@
 It should return the name for that index item.
 
 This variable is local in all buffers.")
-
+;;;###autoload
 (make-variable-buffer-local 'imenu-extract-index-name-function)
 
+;;;###autoload
 (defvar imenu-default-goto-function 'imenu-default-goto-function
   "The default function called when selecting an Imenu item.
 The function in this variable is called when selecting a normal index-item.")
+;;;###autoload
 (make-variable-buffer-local 'imenu-default-goto-function)