Function: smart-tags-find-p

smart-tags-find-p is a byte-compiled function defined in hmouse-tag.el.

Signature

(smart-tags-find-p TAG)

Documentation

Return non-nil if TAG is found by xref, else nil.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-tag.el
(defun smart-tags-find-p (tag)
  "Return non-nil if TAG is found by xref, else nil."
  (let* ((tags-table-list (smart-entire-tags-table-list))
	 ;; Identifier searches should almost always be case-sensitive today
	 (tags-case-fold-search nil)
	 (func (smart-tags-noselect-function))
	 (tags-file-name (or (bound-and-true-p tags-file-name)
			     (car tags-table-list)))
	 (tags-add-tables nil))
    (or (ignore-errors
	  (with-no-warnings (and (hsys-xref-definition tag) t)))
	(ignore-errors
	  (and func tags-table-list (funcall func tag) t)))))