[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Double hyphens in variable names.

From: David Ponce
Subject: Re: Double hyphens in variable names.
Date: Sat, 04 Oct 2003 12:47:32 +0200
User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6a) Gecko/20031001


> When writing a major mode, you should never set imenu--index-alist
> directly; nor should you have to use its value.  So it is not part of
> Imenu's interface and therefore it is an internal variable.

Perhaps there is a case it is necessary to use `imenu--index-alist': to
force a rescan of the imenu.

For example, the Semantic toolkit set `imenu--index-alist' to nil to
force a rebuild of the imenu when the user customized an option that
change how the imenu will be organized (item sorted and/or grouped in
a different way).

Is there another "standard" method to force a rescan of the imenu
without using `imenu--index-alist'?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]