mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-23 22:20:24 -08:00
* lisp/emacs-lisp/syntax.el (syntax-propertize): Flush extended region.
This commit is contained in:
parent
81fc9a7c28
commit
8270a64d53
1 changed files with 3 additions and 0 deletions
|
|
@ -316,6 +316,9 @@ END) suitable for `syntax-propertize-function'."
|
|||
(unless (eq funs
|
||||
(cdr syntax-propertize-extend-region-functions))
|
||||
(setq funs syntax-propertize-extend-region-functions)))))
|
||||
;; Flush ppss cache between the original value of `start' and that
|
||||
;; set above by syntax-propertize-extend-region-functions.
|
||||
(syntax-ppss-flush-cache start)
|
||||
;; Move the limit before calling the function, so the function
|
||||
;; can use syntax-ppss.
|
||||
(setq syntax-propertize--done end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue