[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/indent-bars 529854ec34 170/431: Relocate :weight spec t
From: |
ELPA Syncer |
Subject: |
[elpa] externals/indent-bars 529854ec34 170/431: Relocate :weight spec to indent-bars-stipple face |
Date: |
Mon, 16 Sep 2024 12:59:25 -0400 (EDT) |
branch: externals/indent-bars
commit 529854ec346459294058ebdb5157beada826b664
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>
Relocate :weight spec to indent-bars-stipple face
---
indent-bars.el | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/indent-bars.el b/indent-bars.el
index 4d30ac8431..0a08771863 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -338,11 +338,9 @@ specifies using character bars exclusively. See
(defcustom indent-bars-no-stipple-char-font-weight nil
"Font weight to use to draw the character bars.
-If weight is nil or unspecified, a regular font is assumed.
If non-nil, set the no-stipple character font weight accordingly."
:type `(choice
- (const nil)
- (const unspecified)
+ (const :tag "Use Default Weight" nil)
,@(mapcar (lambda (item) (list 'const (aref item 1)))
font-weight-table))
:group 'indent-bars)
@@ -577,15 +575,15 @@ color, if setup (see
`indent-bars-highlight-current-depth')."
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))))))
+ `((t ( :inherit nil :stipple ,(indent-bars--stipple w h rot)
+ ,@(when indent-bars-no-stipple-char-font-weight
+ `(:weight ,indent-bars-no-stipple-char-font-weight)))))))
(defun indent-bars--calculate-face-spec (depth)
"Calculate the face spec for indentation bar at an indentation DEPTH.
DEPTH starts at 1."
- `((t . (:inherit indent-bars-stipple
- ,@(when indent-bars-no-stipple-char-font-weight
- `(:weight ,indent-bars-no-stipple-char-font-weight))
- :foreground ,(indent-bars--get-color depth)))))
+ `((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 568ec43b0e 109/431: Correct quote in docstring to silence compiler, (continued)
- [elpa] externals/indent-bars 568ec43b0e 109/431: Correct quote in docstring to silence compiler, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 90e5616e8b 117/431: Handle tree-sitter configured but not available in buffer, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 57183c26e6 114/431: highlight-current-depth: guard against missing current-depth, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 9d225884fc 104/431: Improve blend commentary for current depth color, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 7e28454459 076/431: include final newline to ensure full blank line regions match, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars c4495d8bf3 099/431: Re-organize stipple, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars d59d94d622 088/431: 2nd attempt defer setup when running under daemon, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 44621a1a9b 087/431: Revert "Defer setup when running under daemon and remove from README", ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 945418c86d 112/431: current-indentation-depth: fallback to naive indent, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 929a5e2445 129/431: Major re-factoring of bar display: tabs, offset, and invent, more, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 529854ec34 170/431: Relocate :weight spec to indent-bars-stipple face,
ELPA Syncer <=
- [elpa] externals/indent-bars bce0b729cc 130/431: Comment treesit, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars d9459a784e 160/431: treesit improvements: always search from root node, add start-only, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars bbdbbfe4da 159/431: Mention Carbon in versoin for emacs-mac, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 35bade62bd 179/431: do not use derived-mode-class, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 78ddecc3a8 153/431: protect display with save-excursion, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 6f886f89c4 141/431: Support go-mode in addition to go-ts-mode, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 3c83532f98 182/431: Bump version, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 1875deadb7 166/431: Report TS string query error, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 20e34365e9 191/431: ts: improved query setup, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 2e0e6ee0fd 196/431: add support for ts start-bars to switch from oos to emph w/in line, ELPA Syncer, 2024/09/16