summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/edebug-tests.el
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2017-09-26 02:49:00 +0300
committerDmitry Gutov <dgutov@yandex.ru>2017-09-26 02:52:23 +0300
commit827db6b559100153fd7dcab1ecdabd9233e906ab (patch)
tree86b823dae67d4adc6ccf1e1723776bd83df72be2 /test/lisp/emacs-lisp/edebug-tests.el
parenta2244f417a7cf577172cec927b055f0aca9ef282 (diff)
downloademacs-827db6b559100153fd7dcab1ecdabd9233e906ab.tar.gz
emacs-827db6b559100153fd7dcab1ecdabd9233e906ab.tar.bz2
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 'test/lisp/emacs-lisp/edebug-tests.el')
0 files changed, 0 insertions, 0 deletions