Function: tag-partial-file-name-match-p

tag-partial-file-name-match-p is a byte-compiled function defined in etags.el.gz.

Signature

(tag-partial-file-name-match-p TAG)

Documentation

Return non-nil if current tag matches file name.

This is a substring match, and it can include directory separators. Point should be just after a string that matches TAG.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/etags.el.gz
;; partial file name match, i.e. searched tag must match a substring
;; of the file name (potentially including a directory separator).
(defun tag-partial-file-name-match-p (_tag)
  "Return non-nil if current tag matches file name.
This is a substring match, and it can include directory separators.
Point should be just after a string that matches TAG."
  (and (looking-at ".*,[0-9\n]")
       (save-excursion (beginning-of-line)
                       (backward-char 2)
                       (looking-at "\f\n"))))