oo-use-text-abbrev-p is a function defined in
990-abbrev-configuration.el.

Signature
(oo-use-text-abbrev-p)

Documentation
Return non-nil when text abbrevs should be enabled.

This is when the current major-mode is derived from text-mode or point is in a
string or comment.

References
oo-use-text-abbrev-p is unused in 990-abbrev-configuration.el.

Find all references Functions used by oo-use-text-abbrev-p

Debugging
Enable edebug Enable tracing
Disassemble Forget

Source Code
;; Defined in ~/.config/emacs/lisp/990-abbrev-configuration.el
;;;; predicates
(defun! oo-use-text-abbrev-p ()
  "Return non-nil when text abbrevs should be enabled.
This is when the current major-mode is derived from text-mode or point is in a
string or comment."
  (or (derived-mode-p 'text-mode)
	  ;; These cases prevent abbreviation from expanding words outside of a
	  ;; string or comment when in some programming mode.
	  (cl-case (oo-in-string-or-comment-p)
		(string
		 (set! string-beg (car (bounds-of-thing-at-point 'string)))
		 (set! word-beg (save-excursion (backward-word) (point)))
		 (> word-beg string-beg))
		(comment
		 (set! comment-beg (save-excursion (comment-beginning) (point)))
		 (set! word-beg (save-excursion (backward-word) (point)))
         ;; The first word of a comment actually starts at `comment-beg' but
         ;; this never happens for a string.
         (>= word-beg comment-beg)))))