diff options
| author | Dmitry Gutov | 2017-09-26 02:49:00 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2017-09-26 02:52:23 +0300 |
| commit | 827db6b559100153fd7dcab1ecdabd9233e906ab (patch) | |
| tree | 86b823dae67d4adc6ccf1e1723776bd83df72be2 /admin/notes/bugtracker | |
| parent | a2244f417a7cf577172cec927b055f0aca9ef282 (diff) | |
| download | emacs-827db6b559100153fd7dcab1ecdabd9233e906ab.tar.gz emacs-827db6b559100153fd7dcab1ecdabd9233e906ab.zip | |
Use a separate syntax-ppss cache for narrowed buffers
* lisp/emacs-lisp/syntax.el (syntax-ppss-wide):
New variable, to contain the data from `syntax-ppss-last' and
`syntax-ppss-cache'.
(syntax-ppss-cache, syntax-ppss-last): Remove.
(syntax-ppss-narrow, syntax-ppss-narrow-start): New variables.
(syntax-ppss-flush-cache): Flush both caches.
(syntax-ppss--data): Return the appropriate last result and
buffer cache for the current restriction.
(syntax-ppss, syntax-ppss-debug): Use it (bug#22983).
Diffstat (limited to 'admin/notes/bugtracker')
0 files changed, 0 insertions, 0 deletions