From 6d7d9efad3111b3145d6cf46b45f1cebf5faf2ca Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 4 Oct 1996 01:58:52 +0000 Subject: [PATCH] (imenu-default-create-index-function): Fix error message. --- lisp/imenu.el | 3 +-- 1 file changed, 1 insertion(+), 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. -- 2.39.5