aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-06-12 23:43:57 +0000
committerRichard M. Stallman1993-06-12 23:43:57 +0000
commitbcd54802d58f297e4b664a00af12452e91da3687 (patch)
tree120c14542fb446e805471d4736cb334ea7c84439
parent3e36c563db3acc125eeab924e92752e136c91670 (diff)
downloademacs-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.el3
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)