From 38357a23f4887991726185607297a98a82680ea8 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 26 Jul 2004 21:16:08 +0000 Subject: [PATCH] (imenu-prev-index-position-function) (imenu-extract-index-name-function, imenu-name-lookup-function) (imenu--index-alist): Docstring redundancy fix. --- lisp/ChangeLog | 10 ++++++++-- lisp/imenu.el | 19 ++++++------------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 73c833245f8..57ee67c60b5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2004-07-26 Stefan Monnier + + * imenu.el (imenu-prev-index-position-function) + (imenu-extract-index-name-function, imenu-name-lookup-function) + (imenu--index-alist): Docstring redundancy fix. + 2004-07-25 Lars Hansen * wdired.el (wdired-finish-edit): Require dired-aux before locally @@ -74,8 +80,8 @@ 2004-07-17 Kai Grossjohann - * net/tramp.el (tramp-handle-verify-visited-file-modtime): New - docstring. From Luc Teirlinck. + * net/tramp.el (tramp-handle-verify-visited-file-modtime): + New docstring. From Luc Teirlinck. 2004-07-17 Luc Teirlinck diff --git a/lisp/imenu.el b/lisp/imenu.el index e0b57440fd8..238adfe9505 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el @@ -1,6 +1,7 @@ ;;; imenu.el --- framework for mode-specific buffer indexes -;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 2003 Free Software Foundation, Inc. +;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 2003, 2004 +;; Free Software Foundation, Inc. ;; Author: Ake Stenhoff ;; Lars Lindberg @@ -255,9 +256,7 @@ to a function that will find the next index, looking backwards in the file. The function should leave point at the place to be connected to the -index and it should return nil when it doesn't find another index. - -This variable is local in all buffers.") +index and it should return nil when it doesn't find another index.") ;;;###autoload (make-variable-buffer-local 'imenu-prev-index-position-function) @@ -267,9 +266,7 @@ This variable is local in all buffers.") This function is called after `imenu-prev-index-position-function' finds a position for an index item, with point at that position. -It should return the name for that index item. - -This variable is local in all buffers.") +It should return the name for that index item.") ;;;###autoload (make-variable-buffer-local 'imenu-extract-index-name-function) @@ -283,9 +280,7 @@ non-nil if they match. If nil, comparison is done with `string='. Set this to some other function for more advanced comparisons, such as \"begins with\" or \"name matches and number of -arguments match\". - -This variable is local in all buffers.") +arguments match\".") ;;;###autoload (make-variable-buffer-local 'imenu-name-lookup-function) @@ -453,9 +448,7 @@ The function in this variable is called when selecting a normal index-item.") "The buffer index computed for this buffer in Imenu. Simple elements in the alist look like (INDEX-NAME . INDEX-POSITION). Special elements look like (INDEX-NAME INDEX-POSITION FUNCTION ARGUMENTS...). -A nested sub-alist element looks like (INDEX-NAME SUB-ALIST). - -This variable is local in all buffers, once set.") +A nested sub-alist element looks like (INDEX-NAME SUB-ALIST).") (make-variable-buffer-local 'imenu--index-alist) -- 2.39.2