From 230c8b48c8b088f00dbb532635f85769d6c217ea Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 15 Jan 1995 09:43:29 +0000 Subject: [PATCH] (etags-tags-completion-table): Don't let match string contain a \177. --- lisp/progmodes/etags.el | 6 +++--- 1 file 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 @@ ;;; 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 @@ -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) -- 2.39.5