Function: tag-symbol-match-p

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

Signature

(tag-symbol-match-p TAG)

Documentation

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

Point should be just after a string that matches TAG.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/etags.el.gz
	 (looking-at "[\n \t()=,;]"))))	;rule #3

;; t if point is at a tag line that matches TAG as a symbol.
;; point should be just after a string that matches TAG.
(defun tag-symbol-match-p (tag)
  "Return non-nil if current tag line matches TAG as a symbol.
Point should be just after a string that matches TAG."
  (and (looking-at "\\Sw.*\177") (looking-at "\\S_.*\177")
       (save-excursion
	 (backward-char (1+ (length tag)))
	 (and (looking-at "\\Sw") (looking-at "\\S_")))))