(imenu-default-create-index-function): Fix error message.

This commit is contained in:
Richard M. Stallman
1996-10-04 01:58:52 +00:00
parent b6b4c8bdd2
commit 6d7d9efad3

View File

@@ -576,8 +576,7 @@ Their results are gathered into an index alist."
((and imenu-generic-expression)
(imenu--generic-function imenu-generic-expression))
(t
(error "The mode \"%s\" does not take full advantage of imenu.el yet."
mode-name))))
(error "The mode `%s' does not support Imenu" mode-name))))
(defun imenu--replace-spaces (name replacement)
;; Replace all spaces in NAME with REPLACEMENT.