# HG changeset patch # User Richard M. Stallman # Date 901074567 0 # Node ID 434ac4a14be39f52ea5f6e257538a602fff2cad1 # Parent 2311a799a9811d849b647bd24aa2b26f4d806359 (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. diff -r 2311a799a981 -r 434ac4a14be3 lisp/imenu.el --- 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)