Function: tag-exact-file-name-match-p
tag-exact-file-name-match-p is a byte-compiled function defined in
etags.el.gz.
Signature
(tag-exact-file-name-match-p TAG)
Documentation
Return non-nil if TAG matches complete file name.
Any directory part of the file name is also matched.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/etags.el.gz
;; Match qualifier functions for tagnames.
;; These functions assume the etags file format defined in etc/ETAGS.EBNF.
;; This might be a neat idea, but it's too hairy at the moment.
;;(defmacro tags-with-syntax (&rest body)
;; (declare (debug t))
;; `(with-syntax-table
;; (with-current-buffer (find-file-noselect (file-of-tag))
;; (syntax-table))
;; ,@body))
;; exact file name match, i.e. searched tag must match complete file
;; name including directories parts if there are some.
(defun tag-exact-file-name-match-p (tag)
"Return non-nil if TAG matches complete file name.
Any directory part of the file name is also matched."
(and (looking-at ",[0-9\n]")
(save-excursion (backward-char (+ 2 (length tag)))
(looking-at "\f\n"))))