summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/syntax.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2020-09-20 17:18:16 -0700
committerGlenn Morris <rgm@gnu.org>2020-09-20 17:18:16 -0700
commit3675993d76cc6db43703240d0ff0fd892abf1b41 (patch)
tree2615512bfb3d569b679efb09711dad1cea7536cc /lisp/emacs-lisp/syntax.el
parent15c594c282176cf8e29072de2934a046922053b1 (diff)
parentdf04f3e755f3001ebb9cc428faa7fa46059e636b (diff)
downloademacs-3675993d76cc6db43703240d0ff0fd892abf1b41.tar.gz
emacs-3675993d76cc6db43703240d0ff0fd892abf1b41.tar.bz2
emacs-3675993d76cc6db43703240d0ff0fd892abf1b41.zip
Merge from origin/emacs-27
df04f3e755 Fix a rare segfault in syntax.c fd1fe1e1ec Add doc to syntax-propertize-function saying it must do a ... fcd599bbea Minor copyedits of doc of 'with-silent-modifications' 759399cdb1 Improve documentation of 'max-mini-window-height' 3223302aa2 Use modern constant names for the NS pasteboard 985703d380 Fix doc string of 'toggle-menu-bar-mode-from-frame' 184a4977c7 Make vc-bzr tests work with brz 3.1 (bug#43314) # Conflicts: # lisp/emacs-lisp/syntax.el # src/syntax.c
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
-rw-r--r--lisp/emacs-lisp/syntax.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el
index ce495af95bc..487faacd738 100644
--- a/lisp/emacs-lisp/syntax.el
+++ b/lisp/emacs-lisp/syntax.el
@@ -66,7 +66,12 @@ The specified function may call `syntax-ppss' on any position
before END, but if it calls `syntax-ppss' on some
position and later modifies the buffer on some earlier position,
then it is its responsability to call `syntax-ppss-flush-cache' to flush
-the now obsolete ppss info from the cache.")
+the now obsolete ppss info from the cache.
+
+Note: When this variable is a function, it must apply _all_ the
+`syntax-table' properties needed in the given text interval.
+Using both this function and other means to apply these
+properties won't work properly.")
(defvar syntax-propertize-chunk-size 500)