[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/page-break-lines 908581b869 23/80: Shorten rule width slig
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/page-break-lines 908581b869 23/80: Shorten rule width slightly when word-wrap is on (see #5) |
Date: |
Tue, 5 Sep 2023 04:03:05 -0400 (EDT) |
branch: elpa/page-break-lines
commit 908581b8697492c94e9539484fc172801e1b0ec7
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>
Shorten rule width slightly when word-wrap is on (see #5)
---
page-break-lines.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/page-break-lines.el b/page-break-lines.el
index ac8c555696..9e4457ccfc 100644
--- a/page-break-lines.el
+++ b/page-break-lines.el
@@ -95,7 +95,8 @@ its display table will be modified as necessary."
(aset buffer-display-table ?\^L
(vconcat (mapcar (lambda (c)
(make-glyph-code c 'page-break-lines))
- (make-list (window-width window)
+ (make-list (- (window-width window)
+ (if word-wrap 1 0))
page-break-lines-char)))))
(when buffer-display-table
(aset buffer-display-table ?\^L nil)))))
- [nongnu] elpa/page-break-lines 29f9314f8e 47/80: Handle the new native display-line-number functionality, (continued)
- [nongnu] elpa/page-break-lines 29f9314f8e 47/80: Handle the new native display-line-number functionality, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 4e5034de4b 43/80: Adjust the length according to the width of page-break-lines-char, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 6f19d894bd 59/80: Merge pull request #22 from camdez/max-width, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 28783cd6b8 76/80: Replace deprecated function name in README, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines f8c4cd7fc6 68/80: Add Emacs 27.1 to CI, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines cff419b126 01/80: Initial commit, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines a74fba388e 04/80: Convert to separate minor-mode and global-minor-mode variants., ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 24fee30edf 70/80: Merge pull request #32 from MicahElliott/master, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines d310e75652 05/80: Rename face from page-break-lines-face to page-break-lines, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 58c0dd0ace 10/80: Add blog/twitter links, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 908581b869 23/80: Shorten rule width slightly when word-wrap is on (see #5),
ELPA Syncer <=
- [nongnu] elpa/page-break-lines 55d36c6af4 12/80: Merge pull request #1 from lunaryorn/patch-1, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 87e801efb8 55/80: Merge pull request #20 from peniblec/master, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 82f9100312 46/80: Merge pull request #15 from xiongtx/autoload-defcustom, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 2e1d274e11 60/80: Prefer "elisp" for code blocks, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 31f1fbe0e3 62/80: Prefer set-display-table-slot to raw aset, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines c82759f267 50/80: Add Patreon badge, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines d16df692b3 48/80: Fix checkdoc warning, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 6fb993a420 61/80: There's no need to autoload the custom vars, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 5872e5d51c 54/80: Fix disabling when major mode is derived from one of p-b-l-modes, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines fd3b7e38ad 53/80: Drop redundant byte-compile-warnings flag, ELPA Syncer, 2023/09/05