summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-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.