]> git.eshelyaron.com Git - emacs.git/commitdiff
(etags-tags-completion-table): Don't let match string contain a \177.
authorRoland McGrath <roland@gnu.org>
Sun, 15 Jan 1995 09:43:29 +0000 (09:43 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 15 Jan 1995 09:43:29 +0000 (09:43 +0000)
lisp/progmodes/etags.el

index 1817f6f1ae66545c82102682f606cb46e67812f6..0f93051ee6973464b40c7c8dff3998c4fa6d25a9 100644 (file)
@@ -1,6 +1,6 @@
 ;;; etags.el --- etags facility for Emacs
 
-;; Copyright (C) 1985, 1986, 1988, 1989, 1992, 1993, 1994
+;; Copyright (C) 1985, 1986, 1988, 1989, 1992, 1993, 1994, 1995
 ;;     Free Software Foundation, Inc.
 
 ;; Author: Roland McGrath <roland@gnu.ai.mit.edu>
@@ -998,8 +998,8 @@ See documentation of variable `tags-file-name'."
       ;;   \6 is the line to start searching at;
       ;;   \7 is the char to start searching at.
       (while (re-search-forward
-             "^\\(\\(.+[^-a-zA-Z0-9_$]+\\)?\\([-a-zA-Z0-9_$?:]+\\)\
-\[^-a-zA-Z0-9_$?:]*\\)\177\\(\\([^\n\001]+\\)\001\\)?\
+             "^\\(\\([^\177]+[^-a-zA-Z0-9_$\177]+\\)?\\([-a-zA-Z0-9_$?:]+\\)\
+\[^-a-zA-Z0-9_$?:\177]*\\)\177\\(\\([^\n\001]+\\)\001\\)?\
 \\([0-9]+\\)?,\\([0-9]+\\)?\n"
              nil t)
        (intern (if (match-beginning 5)