[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/indent-bars a47382bd4b 043/431: Improve comments and re
From: |
ELPA Syncer |
Subject: |
[elpa] externals/indent-bars a47382bd4b 043/431: Improve comments and remove unused arg from calculate-face-spec |
Date: |
Mon, 16 Sep 2024 12:59:12 -0400 (EDT) |
branch: externals/indent-bars
commit a47382bd4b18c82d24f2f0b8523b58ed98336120
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>
Improve comments and remove unused arg from calculate-face-spec
---
indent-bars.el | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/indent-bars.el b/indent-bars.el
index 1f991d29b0..39c00d1d47 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -431,17 +431,16 @@ color, if setup (see
`indent-bars-highlight-current-depth')."
(defun indent-bars--create-stipple-face (w h rot)
"Create and set the default `indent-bars-stipple' face.
Create for character size W x H with offset ROT."
- (face-spec-set 'indent-bars-stipple
- `((t
- (:inherit nil :stipple ,(indent-bars--stipple w h rot))))))
+ (face-spec-set
+ 'indent-bars-stipple
+ `((t
+ (:inherit nil :stipple ,(indent-bars--stipple w h rot))))))
-(defun indent-bars--calculate-face-spec (depth &optional current-highlight)
+(defun indent-bars--calculate-face-spec (depth)
"Calculate the face spec for indentation bar at an indentation DEPTH.
-DEPTH starts at 1. If CURRENT-HIGHLIGHT is non-nil, use the
-current depth highlight color."
- (let* () ; no depth config just use main
- `((t . ( :inherit indent-bars-stipple
- :foreground ,(indent-bars--get-color depth current-highlight))))))
+DEPTH starts at 1."
+ `((t . ( :inherit indent-bars-stipple
+ :foreground ,(indent-bars--get-color depth)))))
(defun indent-bars--create-faces (num &optional redefine)
"Create bar faces up to depth NUM, redefining them if REDEFINE is non-nil.
- [elpa] externals/indent-bars 7c7a7a7a10 423/431: improve commentary, (continued)
- [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, 2024/09/16
- [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 <=
- [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
- [elpa] externals/indent-bars 7bafeb32bc 074/431: README: update with PGTK :stipple Emacs bug fix, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 579aa101be 077/431: Initial no-stipple support, ELPA Syncer, 2024/09/16