[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/rainbow-delimiters f43d48a246 186/188: Widen before proper
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/rainbow-delimiters f43d48a246 186/188: Widen before propertizing if under mmm-mode |
Date: |
Sat, 1 Jan 2022 00:59:03 -0500 (EST) |
branch: elpa/rainbow-delimiters
commit f43d48a24602be3ec899345a3326ed0247b960c6
Author: Fanael Linithien <fanael4@gmail.com>
Commit: Fanael Linithien <fanael4@gmail.com>
Widen before propertizing if under mmm-mode
Closes #52.
---
rainbow-delimiters.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/rainbow-delimiters.el b/rainbow-delimiters.el
index 6535e0df36..96691b80f8 100644
--- a/rainbow-delimiters.el
+++ b/rainbow-delimiters.el
@@ -231,6 +231,10 @@ Returns t if char at loc meets one of the following
conditions:
"Highlight delimiters in region between point and END.
Used by font-lock for dynamic highlighting."
+ (when (bound-and-true-p mmm-current-submode)
+ ;; `mmm-mode' is weird and apparently needs this hack, because otherwise we
+ ;; may end up thinking matched parentheses are mismatched.
+ (widen))
(let* ((last-ppss-pos (point))
(ppss (syntax-ppss)))
(while (> end (progn (skip-syntax-forward "^()" end)
- [nongnu] elpa/rainbow-delimiters a802a6c823 156/188: Refactor the code, no functional changes., (continued)
- [nongnu] elpa/rainbow-delimiters a802a6c823 156/188: Refactor the code, no functional changes., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 4bac5ce118 158/188: Don't flush the syntax-ppss cache unless necessary., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 9d23157002 160/188: Simplify the way we determine whether to flush syntax-ppss cache., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters cc829473be 170/188: Deprecate rainbow-delimiters-delimiter-blacklist., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters a4005ac963 162/188: Remove more useless comments., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters e75a4b18e9 159/188: Remove unneeded with-no-warnings., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 153284f304 168/188: Fix a typo., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 27d21f278b 167/188: Rephrase the header line description., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters a695c0f3b9 183/188: Use GitHub workflows for CI, ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 9a644d9e42 178/188: Pass -y to apt-get install, ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters f43d48a246 186/188: Widen before propertizing if under mmm-mode,
ELPA Syncer <=
- [nongnu] elpa/rainbow-delimiters 5125f4e476 185/188: Update the CI badge in the readme to point to GH Actions, ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 0823d0c67f 176/188: Release version 2.1.1, ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters d576e6694a 188/188: Add Emacs 27.2 to CI, ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 8911d984e6 004/188: Use markdown syntax in the README file., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 8dded7ba49 010/188: Bugfix: Removing text properties using re-search-forward can now go to point-max instead of (1- (point-max)), apparently thanks to a change in Emacs CVS., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters bb38452706 155/188: Remove the Emacs Lisp specific escaping test., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters c37b61c4b5 163/188: Release version 2.0.1., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 3d1e204f04 169/188: Allow the user to customize the way faces are picked., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 7919681b0d 187/188: Use keyword arguments in define-minor-mode, ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters eb7b957adc 001/188: Initial commit., ELPA Syncer, 2022/01/01