Variable: prettify-symbols-compose-predicate

prettify-symbols-compose-predicate is a buffer-local variable defined in prog-mode.el.gz.

Documentation

A predicate for deciding if the currently matched symbol is to be composed.

The matched symbol is the car of one entry in prettify-symbols-alist. The predicate receives the match's start and end positions as well as the match-string as arguments.

Probably introduced at or before Emacs version 25.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/prog-mode.el.gz
(defvar-local prettify-symbols-compose-predicate
  #'prettify-symbols-default-compose-p
  "A predicate for deciding if the currently matched symbol is to be composed.
The matched symbol is the car of one entry in `prettify-symbols-alist'.
The predicate receives the match's start and end positions as well
as the `match-string' as arguments.")