Function: tag-word-match-p

tag-word-match-p is a byte-compiled function defined in etags.el.gz.

Signature

(tag-word-match-p TAG)

Documentation

Return non-nil if current tag line matches TAG as a word.

Point should be just after a string that matches TAG.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/etags.el.gz
;; t if point is at a tag line that matches TAG as a word.
;; point should be just after a string that matches TAG.
(defun tag-word-match-p (tag)
  "Return non-nil if current tag line matches TAG as a word.
Point should be just after a string that matches TAG."
  (and (looking-at "\\b.*\177")
       (save-excursion (backward-char (length tag))
		       (looking-at "\\b"))))