]> git.eshelyaron.com Git - emacs.git/commitdiff
(imenu-sort-function): Fix custom type.
authorRichard M. Stallman <rms@gnu.org>
Sun, 31 Jan 1999 07:20:12 +0000 (07:20 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 31 Jan 1999 07:20:12 +0000 (07:20 +0000)
lisp/imenu.el

index 2f353e111ec299689582540c5b1e6d99dab8c55f..f9b33b80b47dc324f553c1719f26256335e16a72 100644 (file)
@@ -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)