diff options
Diffstat (limited to 'lisp/elec-pair.el')
-rw-r--r-- | lisp/elec-pair.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/elec-pair.el b/lisp/elec-pair.el index d8c377a2ef5..82db8dbfc76 100644 --- a/lisp/elec-pair.el +++ b/lisp/elec-pair.el @@ -238,9 +238,9 @@ inside a comment or string." (self-insert-command 1))) (cl-defmacro electric-pair--with-uncached-syntax ((table &optional start) &rest body) - "Like `with-syntax-table', but flush the syntax-ppss cache afterwards. + "Like `with-syntax-table', but flush the `syntax-ppss' cache afterwards. Use this instead of (with-syntax-table TABLE BODY) when BODY -contains code which may update the syntax-ppss cache. This +contains code which may update the `syntax-ppss' cache. This includes calling `parse-partial-sexp' and any sexp-based movement functions when `parse-sexp-lookup-properties' is non-nil. The cache is flushed from position START, defaulting to point." |