Function: projectile--test-at-point-annotated-p
projectile--test-at-point-annotated-p is a byte-compiled function
defined in projectile.el.
Signature
(projectile--test-at-point-annotated-p TEXT NAMES)
Documentation
Return non-nil when TEXT mentions one of NAMES as a whole word.
Deliberately not the symbol-boundary operators: those consult the
buffer's syntax table, under which the < and > of an F# [<Fact>]
count as part of the symbol, so the boundary never matches. Bracketing
on non-alphanumerics is the same test without the dependency.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--test-at-point-annotated-p (text names)
"Return non-nil when TEXT mentions one of NAMES as a whole word.
Deliberately not the symbol-boundary operators: those consult the
buffer's syntax table, under which the `<' and `>' of an F# `[<Fact>]'
count as part of the symbol, so the boundary never matches. Bracketing
on non-alphanumerics is the same test without the dependency."
(string-match-p
(format "\\(?:^\\|[^[:alnum:]_]\\)\\(?:%s\\)\\(?:$\\|[^[:alnum:]_]\\)"
(mapconcat #'regexp-quote names "\\|"))
text))