]> git.eshelyaron.com Git - emacs.git/commitdiff
(etags-file-of-tag): Fix looking-at regexp.
authorRichard M. Stallman <rms@gnu.org>
Sun, 29 Sep 1996 22:58:23 +0000 (22:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 29 Sep 1996 22:58:23 +0000 (22:58 +0000)
lisp/progmodes/etags.el

index 62097047dd93bbe0100366655b6eee32b7770dc5..aefa78c33b19cde2640dd55b26a7ca7b14dcc5fa 100644 (file)
@@ -1000,9 +1000,7 @@ See documentation of variable `tags-file-name'."
 
 (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))))