[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/indent-bars 871dcdcce1 027/431: allow other keys for cu
From: |
ELPA Syncer |
Subject: |
[elpa] externals/indent-bars 871dcdcce1 027/431: allow other keys for current-depth-palette |
Date: |
Mon, 16 Sep 2024 12:59:10 -0400 (EDT) |
branch: externals/indent-bars
commit 871dcdcce14b60af4385791a80b7cbee2002bf57
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>
allow other keys for current-depth-palette
---
indent-bars.el | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/indent-bars.el b/indent-bars.el
index 5170f4884c..60d64d84a2 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -361,17 +361,15 @@ nil, in which case no special current depth-coloring is
used.
See `indent-bars-highlight-current-depth' for
configuration."
(when indent-bars-highlight-current-depth
- (cl-destructuring-bind (&key color face background blend)
+ (cl-destructuring-bind (&key color face background blend &allow-other-keys)
indent-bars-highlight-current-depth
(when-let ((color
(cond
- ((facep face)
- (funcall (if background
- #'face-background
- #'face-foreground)
- face))
- ((color-defined-p color)
- color))))
+ ((facep face) (funcall (if background
+ #'face-background
+ #'face-foreground)
+ face))
+ ((and color (color-defined-p color)) color))))
(if blend
(if indent-bars--depth-palette ; blend into depth palette
(vconcat (mapcar (lambda (c)
- [elpa] externals/indent-bars ceb3dd1e31 418/431: guess-spacing: add typescript-ts-mode support, (continued)
- [elpa] externals/indent-bars ceb3dd1e31 418/431: guess-spacing: add typescript-ts-mode support, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 188d8540bf 395/431: Update ts--context-fontify to work in all buffers, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 7c7a7a7a10 423/431: improve commentary, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 6868e36bea 417/431: Protect against no wrap context node, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars f926ed81ae 424/431: Bump version and mention what's new, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars aac2e73b00 428/431: Merge pull request #57 from paaguti/main, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars c2240b7f10 001/431: Initial commit, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 0de108e783 017/431: improve setup/teardown and add reset command, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 940a56c434 016/431: Use 'face instead of 'font-lock-face, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars ee50054337 025/431: Comment, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 871dcdcce1 027/431: allow other keys for current-depth-palette,
ELPA Syncer <=
- [elpa] externals/indent-bars 84f650e5b1 031/431: simplify stipple, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars a47382bd4b 043/431: Improve comments and remove unused arg from calculate-face-spec, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 8b97ca4864 097/431: Update README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars de347fc7fd 098/431: Update README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars d365f46929 050/431: Update README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars c495514596 069/431: README: mention disabling font-lock for stipple testing, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars eb87a137ef 054/431: Update README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars e4c4bb752a 120/431: treesit: ignore-blank-lines-types, string query, custom var refactor, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars ebd89ab245 101/431: Bump version, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 77411a364c 110/431: Switch from ppss to tree-sitter for string context, ELPA Syncer, 2024/09/16