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

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

[elpa] externals/indent-bars 7957d7a2d3 135/431: draw-line: handle 1 bar


From: ELPA Syncer
Subject: [elpa] externals/indent-bars 7957d7a2d3 135/431: draw-line: handle 1 bar case correctly
Date: Mon, 16 Sep 2024 12:59:21 -0400 (EDT)

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

    draw-line: handle 1 bar case correctly
---
 indent-bars.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indent-bars.el b/indent-bars.el
index 83e54cb873..fa906305a5 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -632,7 +632,7 @@ display properties set to fill out the remaining bars, if 
any."
         (vp indent-bars--offset)
         (bar 1) prop fun tnum bcount)
     (when tabs
-      (while (and (< bar nbars) (< (setq tnum (/ vp tab-width)) tabs))
+      (while (and (<= bar nbars) (< (setq tnum (/ vp tab-width)) tabs))
        (setq bcount (indent-bars--tab-display (+ start tnum) (mod vp tab-width)
                                               bar (- nbars bar -1)))
        (cl-incf bar bcount)



reply via email to

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