From dfd805caab7de4a8452a2ab2e3d911e3aa3d06a9 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Tue, 27 Aug 2024 13:23:54 +0200 Subject: [PATCH] ; * lisp/imenu.el (imenu--index-alist): Update docstring. --- lisp/imenu.el | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lisp/imenu.el b/lisp/imenu.el index fa29b17d2e3..271fedbd97c 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el @@ -304,8 +304,7 @@ POSITION is the buffer position of the item; to go to the item is simply to move point to that position. POSITION is passed to `imenu-default-goto-function', so it can be -a non-number if that variable has been changed (e.g. Semantic -uses overlays for POSITIONs). +a non-number if that variable has been changed. Special elements look like \(INDEX-NAME POSITION FUNCTION ARGUMENTS...). @@ -314,10 +313,7 @@ INDEX-NAME, POSITION, and the ARGUMENTS. A nested sub-alist element looks like (INDEX-NAME . SUB-ALIST). The function `imenu--subalist-p' tests an element and returns t -if it is a sub-alist. - -There is one simple element with negative POSITION; selecting that -element recalculates the buffer's index alist.") +if it is a sub-alist.") ;;;###autoload(put 'imenu--index-alist 'risky-local-variable t) (defvar-local imenu--last-menubar-index-alist nil -- 2.39.5