[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/highlight-parentheses 5e1fa9d 22/49: Make overlays front-a
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/highlight-parentheses 5e1fa9d 22/49: Make overlays front-advancing |
Date: |
Sun, 15 Aug 2021 03:57:46 -0400 (EDT) |
branch: elpa/highlight-parentheses
commit 5e1fa9d60cc1e2c8d71d04f09058060ae51a9560
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>
Make overlays front-advancing
Without that, when inserting text at
(foo bar|)
where | indicates point, the inserted text will be made part of the overlay
initially until hl-paren-highlight is called the next time and thus have
'face
hl-paren-face.
This hasn't really be needed when hl-paren-highlight has been called from
pre-command-hook, but now with a more lazy approach to moving overlays it's
very
important.
---
highlight-parentheses.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/highlight-parentheses.el b/highlight-parentheses.el
index eeee89f..1159b0f 100644
--- a/highlight-parentheses.el
+++ b/highlight-parentheses.el
@@ -156,7 +156,7 @@ This is used to prevent analyzing the same context over and
over.")
(setq attributes (plist-put attributes :background (car bg))))
(pop bg)
(dotimes (i 2) ;; front and back
- (push (make-overlay 0 0) hl-paren-overlays)
+ (push (make-overlay 0 0 nil t) hl-paren-overlays)
(overlay-put (car hl-paren-overlays) 'face attributes)))
(setq hl-paren-overlays (nreverse hl-paren-overlays))))
- [nongnu] elpa/highlight-parentheses 52a8d36 33/49: Added other brackets, so it works with other languages., (continued)
- [nongnu] elpa/highlight-parentheses 52a8d36 33/49: Added other brackets, so it works with other languages., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses a5eace2 32/49: Added option for highlighting adjacent parens., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 891538d 48/49: Squash emacs 28 define-minor-mode warning; release 2.0.3, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses fdabfda 47/49: Remove cl-lib dependency since it's included in Emacs 24.3 anyhow; release 2.0.2, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 9a99a4b 42/49: Fix custom type error of highlight-parentheses-attributes, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 3b4d2c6 46/49: Add .elpaignore, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses bef1bc2 14/49: Add configuration for travis-ci., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses e653594 15/49: Add README with travis build state., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses d421e15 17/49: Add globalized highlight-parentheses-mode, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 8869fba 21/49: Fix slowdown by moving overlays less often., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 5e1fa9d 22/49: Make overlays front-advancing,
ELPA Syncer <=
- [nongnu] elpa/highlight-parentheses 9b9137b 24/49: New defcustom: hl-paren-delay (see issue #12), ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses ebf8827 25/49: Fix Travis build incidator, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses c38885b 31/49: Merge pull request #18 from Bad-ptr/master, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 73b4aa7 34/49: Added angle brackets!, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 69c694a 30/49: Allow hl-paren- -[background-]colors, -attributes to be functions, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses f0bd58c 35/49: Merge pull request #20 from tprk77/master, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 21fd617 41/49: Update README, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses b335e9e 49/49: Don't exclude README.md from ELPA package, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 59ff08a 23/49: Merge pull request #11 from tsdh/master, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses ba48dac 36/49: Remove deprecated cl.el, fix compiler/linter nag, version bump, ELPA Syncer, 2021/08/15