changeset 16367:168e1370e887

(etags-file-of-tag): Fix looking-at regexp.
author Richard M. Stallman <rms@gnu.org>
date Sun, 29 Sep 1996 22:58:23 +0000
parents ed13d19dbce5
children 62c8dbf52487
files lisp/progmodes/etags.el
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/etags.el	Sun Sep 29 22:45:55 1996 +0000
+++ b/lisp/progmodes/etags.el	Sun Sep 29 22:58:23 1996 +0000
@@ -1000,9 +1000,7 @@
 
 (defun etags-file-of-tag ()
   (save-excursion
-    (if (looking-at "./")
-        (re-search-forward "\\([^\n]+\\),[0-9]*\n")
-      (re-search-backward "\f\n\\([^\n]+\\),[0-9]*\n"))
+    (re-search-backward "\f\n\\([^\n]+\\),[0-9]*\n")
     (buffer-substring (match-beginning 1) (match-end 1))))