Function: tag-file-name-match-p
tag-file-name-match-p is a byte-compiled function defined in
etags.el.gz.
Signature
(tag-file-name-match-p TAG)
Documentation
Return non-nil if TAG matches file name, excluding directory part.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/etags.el.gz
;; file name match as above, but searched tag must match the file
;; name not including the directories if there are some.
(defun tag-file-name-match-p (tag)
"Return non-nil if TAG matches file name, excluding directory part."
(and (looking-at ",[0-9\n]")
(save-excursion (backward-char (1+ (length tag)))
(looking-at "/"))))