diff options
| author | Richard M. Stallman | 1996-10-04 01:58:52 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-10-04 01:58:52 +0000 |
| commit | 6d7d9efad3111b3145d6cf46b45f1cebf5faf2ca (patch) | |
| tree | 2bc0dd66f9371c573a2ce42887fcdf5e47c3c6ec | |
| parent | b6b4c8bdd2f32c07555ae4e53a39509018d4463b (diff) | |
| download | emacs-6d7d9efad3111b3145d6cf46b45f1cebf5faf2ca.tar.gz emacs-6d7d9efad3111b3145d6cf46b45f1cebf5faf2ca.zip | |
(imenu-default-create-index-function): Fix error message.
| -rw-r--r-- | lisp/imenu.el | 3 |
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." | |||
| 576 | ((and imenu-generic-expression) | 576 | ((and imenu-generic-expression) |
| 577 | (imenu--generic-function imenu-generic-expression)) | 577 | (imenu--generic-function imenu-generic-expression)) |
| 578 | (t | 578 | (t |
| 579 | (error "The mode \"%s\" does not take full advantage of imenu.el yet." | 579 | (error "The mode `%s' does not support Imenu" mode-name)))) |
| 580 | mode-name)))) | ||
| 581 | 580 | ||
| 582 | (defun imenu--replace-spaces (name replacement) | 581 | (defun imenu--replace-spaces (name replacement) |
| 583 | ;; Replace all spaces in NAME with REPLACEMENT. | 582 | ;; Replace all spaces in NAME with REPLACEMENT. |