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

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

[nongnu] elpa/hl-column dfb973cf2c 4/6: Fix column highlightion in Info


From: ELPA Syncer
Subject: [nongnu] elpa/hl-column dfb973cf2c 4/6: Fix column highlightion in Info mode
Date: Sun, 27 Nov 2022 16:00:51 -0500 (EST)

branch: elpa/hl-column
commit dfb973cf2c057cd3e5a7e5759a05d858e4eaf7dd
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>

    Fix column highlightion in Info mode
---
 hl-column.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hl-column.el b/hl-column.el
index 4155031bdd..308a1388ff 100644
--- a/hl-column.el
+++ b/hl-column.el
@@ -122,7 +122,9 @@ and `window-end' respectively while making the overlays.")
                       (overlay-put
                        ov 'after-string
                        (concat
-                        (make-string (- column (current-column)) ? )
+                        (make-string (max (- column (current-column))
+                                          0)
+                                     ? )
                         (propertize " " 'face hl-column-face))))
                   (when (< column (current-column))
                     (backward-char))



reply via email to

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