[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/indent-bars 57183c26e6 114/431: highlight-current-depth
From: |
ELPA Syncer |
Subject: |
[elpa] externals/indent-bars 57183c26e6 114/431: highlight-current-depth: guard against missing current-depth |
Date: |
Mon, 16 Sep 2024 12:59:19 -0400 (EDT) |
branch: externals/indent-bars
commit 57183c26e60fd8cf15911d80f2df5347bdf8be6a
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>
highlight-current-depth: guard against missing current-depth
---
indent-bars.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/indent-bars.el b/indent-bars.el
index 5941284d26..201a1e75a8 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -883,7 +883,7 @@ ROT are as in `indent-bars--stipple', and have similar
default values."
"Refresh current indentation depth highlight.
Works by remapping the appropriate indent-bars-N face."
(let ((depth (indent-bars--current-indentation-depth)))
- (when (not (= depth indent-bars--current-depth))
+ (when (and depth (not (= depth indent-bars--current-depth)))
(if indent-bars--remap-face ; out with the old
(face-remap-remove-relative indent-bars--remap-face))
(setq indent-bars--current-depth depth)
- [elpa] externals/indent-bars 1a5f016740 032/431: blank line bars: correctly mark final line bars, (continued)
- [elpa] externals/indent-bars 1a5f016740 032/431: blank line bars: correctly mark final line bars, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 5f5dd86810 034/431: always resize stipple on setup, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 931bf08cb2 045/431: Examples: add default, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars c534bb5b5d 056/431: Minor README tweak, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars a9381135ff 051/431: Update README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 9f03b2183b 055/431: Require compat, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 1cd0c30ba3 049/431: Tweaks to README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 628d42f204 072/431: Defer setup when running under daemon and remove from README, ELPA Syncer, 2024/09/16
- [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 <=
- [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, 2024/09/16
- [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