(imenu-sort-function): Fix custom type.
This commit is contained in:
parent
8e49673d5e
commit
df90db1359
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ The function should take two arguments and return t if the first
|
|||
element should come before the second. The arguments are cons cells;
|
||||
\(NAME . POSITION). Look at `imenu--sort-by-name' for an example."
|
||||
:type '(choice (const :tag "No sorting" nil)
|
||||
(const :tag "Sort by name" 'imenu--sort-by-name)
|
||||
(const :tag "Sort by name" imenu--sort-by-name)
|
||||
(function :tag "Another function"))
|
||||
:group 'imenu)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue