[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/rainbow-delimiters ccd68b7eb8 107/188: Replace a generaliz
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/rainbow-delimiters ccd68b7eb8 107/188: Replace a generalized push with setcdr+cons+cdr. |
Date: |
Sat, 1 Jan 2022 00:58:57 -0500 (EST) |
branch: elpa/rainbow-delimiters
commit ccd68b7eb82a1f6db424cb449a99c33daf09d555
Author: Fanael Linithien <fanael4@gmail.com>
Commit: Fanael Linithien <fanael4@gmail.com>
Replace a generalized push with setcdr+cons+cdr.
Generalized variables are supported in push only since Emacs 24.3,
using primitive operations instead allows the code to work in older
versions, too.
The regression was introduced in 3dfd3fa9b1, fixes #46.
---
rainbow-delimiters.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rainbow-delimiters.el b/rainbow-delimiters.el
index 0614292273..19940e8df2 100644
--- a/rainbow-delimiters.el
+++ b/rainbow-delimiters.el
@@ -297,7 +297,7 @@ Intermediate `parse-partial-sexp' results are added to the
cache."
(let ((state (parse-partial-sexp from newpos nil nil oldstate)))
(if (/= newpos to)
(if cache-nearest-after
- (push (cons newpos state) (cdr cache-nearest-after))
+ (setcdr cache-nearest-after (cons (cons newpos state) (cdr
cache-nearest-after)))
(push (cons newpos state)
rainbow-delimiters-parse-partial-sexp-cache)))
(setq oldstate state
from newpos))))
- [nongnu] elpa/rainbow-delimiters edf59bad7f 165/188: Move the usage instructions from installation to commentary., (continued)
- [nongnu] elpa/rainbow-delimiters edf59bad7f 165/188: Move the usage instructions from installation to commentary., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 352b4f2bfe 177/188: No need to set inhibit-point-motion-hooks, ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters b316b7f49d 130/188: Make the MELPA Stable link actually point at MELPA Stable., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 8012604ea9 132/188: Add maintainership information., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters fb54c05ba0 095/188: Don't enable in special RefTeX modes, ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters f116221d42 076/188: Simplify the logic in rainbow-delimiters-propertize a little..., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 6df71dba8f 091/188: Release version 1.3.11., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 5459aa4c6a 102/188: Simplify rainbow-delimiters-delim-regex., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 756fd642fa 103/188: Release version 1.3.12., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 3143de1136 105/188: Update the readme., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters ccd68b7eb8 107/188: Replace a generalized push with setcdr+cons+cdr.,
ELPA Syncer <=
- [nongnu] elpa/rainbow-delimiters 3e538315ae 125/188: Point URLs to the new address., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 9ee4a86d47 133/188: Run the test suite under Emacs 23., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 5eeddfb2d6 137/188: Test for blacklisting in rainbow-delimiters--char-ineligible-p., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 41546fa1f2 129/188: Fix a typo in the readme., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters daae2c22a6 141/188: Really make Emacs 23 tests less verbose., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 8a2c0374b0 143/188: Use a macro to generate face definitions., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 5435305789 145/188: Move all variables to 'rainbow-delimiters' group., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 798af906df 147/188: Add a test checking if blacklisted delims still contribute to depth., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 58f17c9c4d 149/188: The faces should really use foreground colors., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 0441e7317b 151/188: Add a better escaped delimiter test case., ELPA Syncer, 2022/01/01