diff options
| author | Richard M. Stallman | 1993-06-12 23:43:57 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-06-12 23:43:57 +0000 |
| commit | bcd54802d58f297e4b664a00af12452e91da3687 (patch) | |
| tree | 120c14542fb446e805471d4736cb334ea7c84439 | |
| parent | 3e36c563db3acc125eeab924e92752e136c91670 (diff) | |
| download | emacs-bcd54802d58f297e4b664a00af12452e91da3687.tar.gz emacs-bcd54802d58f297e4b664a00af12452e91da3687.zip | |
(etags-tags-completion-table): When skipping the noise
before the tag name, let it end with any char not allowed in a tag.
| -rw-r--r-- | lisp/progmodes/etags.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 70dcd9a557d..e72fdb3e7cd 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el | |||
| @@ -915,7 +915,8 @@ See documentation of variable `tags-file-name'." | |||
| 915 | ;; \6 is not interesting; | 915 | ;; \6 is not interesting; |
| 916 | ;; \7 is the explicitly-specified tag name. | 916 | ;; \7 is the explicitly-specified tag name. |
| 917 | (while (re-search-forward | 917 | (while (re-search-forward |
| 918 | "^\\(\\(.+[ \t]+\\)?\\([-a-zA-Z0-9_$]+\\)[^-a-zA-Z0-9_$]*\\)\177\ | 918 | "^\\(\\(.+[^-a-zA-Z0-9_$]+\\)?\\([-a-zA-Z0-9_$]+\\)\ |
| 919 | \[^-a-zA-Z0-9_$]*\\)\177\ | ||
| 919 | \\([0-9]+\\),\\([0-9]+\\)\\(,\001\\([^\n]+\\)\\)?\n" | 920 | \\([0-9]+\\),\\([0-9]+\\)\\(,\001\\([^\n]+\\)\\)?\n" |
| 920 | nil t) | 921 | nil t) |
| 921 | (intern (if (match-beginning 6) | 922 | (intern (if (match-beginning 6) |