diff options
| -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. |