Function: syntax-propertize--in-process-p

syntax-propertize--in-process-p is a byte-compiled function defined in syntax.el.gz.

Signature

(syntax-propertize--in-process-p)

Documentation

Non-nil if we're inside syntax-propertize.

This is used to avoid infinite recursion as well as to handle cases where syntax-ppss is called when the final syntax-table properties have not yet been setup, in which case we may end up putting invalid info into the cache. It's also used so that syntax-ppss-flush-cache can be used from within syntax-propertize without ruining the syntax-table already set.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/syntax.el.gz
(defun syntax-propertize--in-process-p ()
  "Non-nil if we're inside `syntax-propertize'.
This is used to avoid infinite recursion as well as to handle cases where
`syntax-ppss' is called when the final `syntax-table' properties have not
yet been setup, in which case we may end up putting invalid info into the cache.
It's also used so that `syntax-ppss-flush-cache' can be used from within
`syntax-propertize' without ruining the `syntax-table' already set."
  (eq syntax-propertize--done most-positive-fixnum))