Function: tuareg--prettify-symbols-compose-p

tuareg--prettify-symbols-compose-p is a natively compiled function defined in tuareg.el.

Signature

(tuareg--prettify-symbols-compose-p START END MATCH)

Documentation

Return true iff the symbol MATCH should be composed.

See prettify-symbols-compose-predicate.

Source Code

;; Defined in /nix/store/6mbh851dhnag8f92qfrlh9ckldzwf6c6-emacs-packages-deps/share/emacs/site-lisp/elpa/tuareg-20260626.936/tuareg.el
(defun tuareg--prettify-symbols-compose-p (start end match)
  "Return true iff the symbol MATCH should be composed.
See `prettify-symbols-compose-predicate'."
  ;; Refine `prettify-symbols-default-compose-p' so as not to compose
  ;; symbols for errors,...
  (and (fboundp 'prettify-symbols-default-compose-p)
       (prettify-symbols-default-compose-p start end match)
       (not (memq (get-text-property start 'face)
                  '(tuareg-font-lock-error-face
                    tuareg-font-lock-interactive-output-face
                    tuareg-font-lock-interactive-error-face)))))