[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/rainbow-delimiters 2f17e9d735 053/188: Flush the ppss cach
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/rainbow-delimiters 2f17e9d735 053/188: Flush the ppss cache on mode activation. |
Date: |
Sat, 1 Jan 2022 00:58:52 -0500 (EST) |
branch: elpa/rainbow-delimiters
commit 2f17e9d7354bb0285bbe5d6a784cabe32cfc2d6e
Author: Fanael Linithien <fanael4@gmail.com>
Commit: Fanael Linithien <fanael4@gmail.com>
Flush the ppss cache on mode activation.
This prevents the code from relying on stale cache if the mode
has been deactivated, the buffer changed and the mode activated again.
---
rainbow-delimiters.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/rainbow-delimiters.el b/rainbow-delimiters.el
index 6c4f47036b..2e45225386 100644
--- a/rainbow-delimiters.el
+++ b/rainbow-delimiters.el
@@ -569,6 +569,8 @@ Used by jit-lock for dynamic highlighting."
(remove-hook 'before-change-functions
'rainbow-delimiters-syntax-ppss-flush-cache t)
(jit-lock-unregister 'rainbow-delimiters-propertize-region)
(rainbow-delimiters-unpropertize-region (point-min) (point-max)))
+ ;; Flush the ppss cache now in case there's something left in there.
+ (setq rainbow-delimiters-parse-partial-sexp-cache nil)
(add-hook 'before-change-functions
'rainbow-delimiters-syntax-ppss-flush-cache t t)
(jit-lock-register 'rainbow-delimiters-propertize-region t)
;; Create necessary syntax tables inheriting from current major-mode.
- [nongnu] elpa/rainbow-delimiters 6a68bdb9e3 024/188: Inherit from current major-mode syntax table upon activation of mode., (continued)
- [nongnu] elpa/rainbow-delimiters 6a68bdb9e3 024/188: Inherit from current major-mode syntax table upon activation of mode., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 34a490a998 015/188: Remove workaround from documentation; problem has to be fixed in Emacs by now. Was step 5, (setq-default frame-background-mode 'dark), in order to work around rainbow-delimiters getting an incorrect frame-background-mode and using its light color scheme - causing washed-out looking colors on darker backgrounds., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 8d3f503cea 006/188: Release version 1.3.1, a bugfix release. Correct typo and revert light background color scheme., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 8acf9bd165 003/188: Update README to link to the appropriate locations at EmacsWiki., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 1d1af1b8df 009/188: Add a Contributors/Thanks session. Thank Satya Mishra for the initial idea to make rainbow-delimiters mode global., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 9fc9343631 014/188: Documentation updates reflecting presence of global-rainbow-delimiters-mode., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 5fe4b7b54d 017/188: Update README.markdown; include instructions re: global-rainbow-delimiters-mode., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 898a2754f0 012/188: Interim Changelog update., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 012a5937e3 020/188: Update README.markdown; include instructions re: global-rainbow-delimiters-mode., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters e302ab778c 026/188: Release rainbow-delimiters version 1.3.2 (2011-10-21)., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 2f17e9d735 053/188: Flush the ppss cache on mode activation.,
ELPA Syncer <=
- [nongnu] elpa/rainbow-delimiters 73b15f1b77 041/188: Use major-mode-specific escape character recognization, ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters fcec6e0ee7 029/188: Update README., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters b9991fb222 047/188: Handle unescaped parentheses characters, e.g. ?(, ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 6e4efb11f0 055/188: Don't hard-code version in the elisp: rely on tags instead, ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 04ba26ead6 056/188: Revert "Don't hard-code version in the elisp: rely on tags instead"., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters d2c5b21464 038/188: Release rainbow-delimiters version 1.3.4., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 3d6de240fb 043/188: Merge pull request #12 from crlf0710/master, ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters d38744e945 045/188: Remove middle initial from my name., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 59d8d64a84 033/188: Merge pull request #9 from To1ne/patch-1, ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters df383f86f7 074/188: Clean up comments and whitespace., ELPA Syncer, 2022/01/01