emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/indent-bars 563328e19e 009/431: resize-stipple: let fac


From: ELPA Syncer
Subject: [elpa] externals/indent-bars 563328e19e 009/431: resize-stipple: let faces extend
Date: Mon, 16 Sep 2024 12:59:08 -0400 (EDT)

branch: externals/indent-bars
commit 563328e19ea00c833593cbd7b508daff1b2f0b45
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>

    resize-stipple: let faces extend
---
 indent-bars.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/indent-bars.el b/indent-bars.el
index 5fd3c47976..1ba4aa4045 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -674,8 +674,7 @@ are not indicated."
   "Refresh current indentation depth highlight.
 Works by remapping the appropriate indent-bars-N face."
   (let ((depth (/ (current-indentation) indent-bars-spacing)))
-    (when (and (> depth 0) (not (= depth indent-bars--current-depth))
-              (< depth (length indent-bars--faces)))
+    (when (and (> depth 0) (not (= depth indent-bars--current-depth)))
       (setq indent-bars--current-depth depth)
       (if indent-bars--remap-face      ; out with the old
          (face-remap-remove-relative indent-bars--remap-face))
@@ -756,7 +755,7 @@ Adapted from `highlight-indentation-mode'."
 
   ;; Faces
   (indent-bars--create-stipple-face (frame-char-width) (frame-char-height))
-  (indent-bars--create-faces 9 'reset)   ; extends as needed
+  (indent-bars--create-faces 9 'reset) ; extends as needed
 
   ;; Font-lock
   (setq indent-bars-orig-unfontify-region font-lock-unfontify-region-function)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]