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

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

[nongnu] elpa/page-break-lines 260bdd6a86 24/80: Also shorten rule by on


From: ELPA Syncer
Subject: [nongnu] elpa/page-break-lines 260bdd6a86 24/80: Also shorten rule by one character in console windows (fixes #6)
Date: Tue, 5 Sep 2023 04:03:05 -0400 (EDT)

branch: elpa/page-break-lines
commit 260bdd6a865d135f53ba92887daf9eab4941f3af
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>

    Also shorten rule by one character in console windows (fixes #6)
---
 page-break-lines.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/page-break-lines.el b/page-break-lines.el
index 9e4457ccfc..dabfefad5e 100644
--- a/page-break-lines.el
+++ b/page-break-lines.el
@@ -96,7 +96,7 @@ its display table will be modified as necessary."
                 (vconcat (mapcar (lambda (c)
                                    (make-glyph-code c 'page-break-lines))
                                  (make-list (- (window-width window)
-                                               (if word-wrap 1 0))
+                                               (if (or word-wrap (null 
window-system)) 1 0))
                                             page-break-lines-char)))))
       (when buffer-display-table
         (aset buffer-display-table ?\^L nil)))))



reply via email to

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