aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland McGrath1995-01-15 09:43:29 +0000
committerRoland McGrath1995-01-15 09:43:29 +0000
commit230c8b48c8b088f00dbb532635f85769d6c217ea (patch)
treeb8ab9c7fff9a80328ea76fac830900a7f558b5ed
parent48ce8399f828c0528c2e9dbefc29b5510fea9b5d (diff)
downloademacs-230c8b48c8b088f00dbb532635f85769d6c217ea.tar.gz
emacs-230c8b48c8b088f00dbb532635f85769d6c217ea.zip
(etags-tags-completion-table): Don't let match string contain a \177.
-rw-r--r--lisp/progmodes/etags.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index 1817f6f1ae6..0f93051ee69 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -1,6 +1,6 @@
1;;; etags.el --- etags facility for Emacs 1;;; etags.el --- etags facility for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1988, 1989, 1992, 1993, 1994 3;; Copyright (C) 1985, 1986, 1988, 1989, 1992, 1993, 1994, 1995
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Roland McGrath <roland@gnu.ai.mit.edu> 6;; Author: Roland McGrath <roland@gnu.ai.mit.edu>
@@ -998,8 +998,8 @@ See documentation of variable `tags-file-name'."
998 ;; \6 is the line to start searching at; 998 ;; \6 is the line to start searching at;
999 ;; \7 is the char to start searching at. 999 ;; \7 is the char to start searching at.
1000 (while (re-search-forward 1000 (while (re-search-forward
1001 "^\\(\\(.+[^-a-zA-Z0-9_$]+\\)?\\([-a-zA-Z0-9_$?:]+\\)\ 1001 "^\\(\\([^\177]+[^-a-zA-Z0-9_$\177]+\\)?\\([-a-zA-Z0-9_$?:]+\\)\
1002\[^-a-zA-Z0-9_$?:]*\\)\177\\(\\([^\n\001]+\\)\001\\)?\ 1002\[^-a-zA-Z0-9_$?:\177]*\\)\177\\(\\([^\n\001]+\\)\001\\)?\
1003\\([0-9]+\\)?,\\([0-9]+\\)?\n" 1003\\([0-9]+\\)?,\\([0-9]+\\)?\n"
1004 nil t) 1004 nil t)
1005 (intern (if (match-beginning 5) 1005 (intern (if (match-beginning 5)