aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/etags.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index 0f93051ee69..5066514687d 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -980,10 +980,8 @@ See documentation of variable `tags-file-name'."
980 980
981(defun etags-file-of-tag () 981(defun etags-file-of-tag ()
982 (save-excursion 982 (save-excursion
983 (search-backward "\f\n") 983 (re-search-backward "\f\n\\([^\n]+\\),[0-9]*\n")
984 (forward-char 2) 984 (buffer-substring (match-beginning 1) (match-end 1))))
985 (buffer-substring (point)
986 (progn (skip-chars-forward "^,") (point)))))
987 985
988(defun etags-tags-completion-table () 986(defun etags-tags-completion-table ()
989 (let ((table (make-vector 511 0))) 987 (let ((table (make-vector 511 0)))