diff options
| -rw-r--r-- | lisp/imenu.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/imenu.el b/lisp/imenu.el index 1426bb3cd96..885a0d20ae7 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el | |||
| @@ -139,9 +139,9 @@ function, variable or type) that is to appear in the menu. | |||
| 139 | 139 | ||
| 140 | For emacs-lisp-mode for example PATTERN would look like: | 140 | For emacs-lisp-mode for example PATTERN would look like: |
| 141 | 141 | ||
| 142 | '((nil \"^\\s-*(def\\(un\\|subst\\|macro\\|advice\\)\\s-+\\([-A-Za-z0-9+]+\\)\" 2) | 142 | '((nil \"^\\\\s-*(def\\\\(un\\\\|subst\\\\|macro\\\\|advice\\\\)\\\\s-+\\\\([-A-Za-z0-9+]+\\\\)\" 2) |
| 143 | (\"*Vars*\" \"^\\s-*(def\\(var\\|const\\)\\s-+\\([-A-Za-z0-9+]+\\)\" 2) | 143 | (\"*Vars*\" \"^\\\\s-*(def\\\\(var\\\\|const\\\\)\\\\s-+\\\\([-A-Za-z0-9+]+\\\\)\" 2) |
| 144 | (\"*Types*\" \"^\\s-*(def\\(type\\|struct\\|class\\|ine-condition\\)\\s-+\\([-A-Za-z0-9+]+\\)\" 2)) | 144 | (\"*Types*\" \"^\\\\s-*(def\\\\(type\\\\|struct\\\\|class\\\\|ine-condition\\\\)\\\\s-+\\\\([-A-Za-z0-9+]+\\\\)\" 2)) |
| 145 | 145 | ||
| 146 | The variable is buffer-local.") | 146 | The variable is buffer-local.") |
| 147 | 147 | ||
| @@ -570,9 +570,9 @@ function, variable or type) that is to appear in the menu. | |||
| 570 | 570 | ||
| 571 | For emacs-lisp-mode for example PATTERN would look like: | 571 | For emacs-lisp-mode for example PATTERN would look like: |
| 572 | 572 | ||
| 573 | '((nil \"^\\s-*(def\\(un\\|subst\\|macro\\|advice\\)\\s-+\\([-A-Za-z0-9]+\\)\" 2) | 573 | '((nil \"^\\\\s-*(def\\\\(un\\\\|subst\\\\|macro\\\\|advice\\\\)\\\\s-+\\\\([-A-Za-z0-9]+\\\\)\" 2) |
| 574 | (\"*Vars*\" \"^\\s-*(def\\(var\\|const\\)\\s-+\\([-A-Za-z0-9]+\\)\" 2) | 574 | (\"*Vars*\" \"^\\\\s-*(def\\\\(var\\\\|const\\\\)\\\\s-+\\\\([-A-Za-z0-9]+\\\\)\" 2) |
| 575 | (\"*Types*\" \"^\\s-*(def\\(type\\|struct\\|class\\|ine-condition\\)\\s-+\\([-A-Za-z0-9]+\\)\" 2))' | 575 | (\"*Types*\" \"^\\\\s-*(def\\\\(type\\\\|struct\\\\|class\\\\|ine-condition\\\\)\\\\s-+\\\\([-A-Za-z0-9]+\\\\)\" 2))' |
| 576 | 576 | ||
| 577 | Returns an index of the current buffer as an alist. The elements in | 577 | Returns an index of the current buffer as an alist. The elements in |
| 578 | the alist look like: (INDEX-NAME . INDEX-POSITION). They may also be | 578 | the alist look like: (INDEX-NAME . INDEX-POSITION). They may also be |