summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-10-04 01:58:52 +0000
committerRichard M. Stallman <rms@gnu.org>1996-10-04 01:58:52 +0000
commit6d7d9efad3111b3145d6cf46b45f1cebf5faf2ca (patch)
tree2bc0dd66f9371c573a2ce42887fcdf5e47c3c6ec
parentb6b4c8bdd2f32c07555ae4e53a39509018d4463b (diff)
downloademacs-6d7d9efad3111b3145d6cf46b45f1cebf5faf2ca.tar.gz
(imenu-default-create-index-function): Fix error message.
-rw-r--r--lisp/imenu.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/imenu.el b/lisp/imenu.el
index b04aecf3b57..c35f963e990 100644
--- a/lisp/imenu.el
+++ b/lisp/imenu.el
@@ -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.