File: syntax.el.html
The main exported function is syntax-ppss. You might also need
to call syntax-ppss-flush-cache or to add it to
before-change-functions'(although this is automatically done by
syntax-ppss when needed, but that might fail if syntax-ppss is
called in a context where before-change-functions is temporarily
let-bound to nil).
Defined variables (9)
syntax-begin-function | Function to move back outside of any comment/string/paren. |
syntax-ppss-max-span | Threshold below which cache info is deemed unnecessary. |
syntax-ppss-narrow | Same as ‘syntax-ppss-wide’ but for a narrowed buffer. |
syntax-ppss-narrow-start | Start position of the narrowing for ‘syntax-ppss-narrow’. |
syntax-ppss-table | Syntax-table to use during ‘syntax-ppss’, if any. |
syntax-ppss-wide | Cons of two elements (LAST . CACHE). |
syntax-propertize--inhibit-flush | If non-nil, ‘syntax-ppss-flush-cache’ only flushes the ppss cache. |
syntax-propertize-extend-region-functions | Special hook run just before proceeding to propertize a region. |
syntax-propertize-function | Mode-specific function to apply ‘syntax-table’ text properties. |