[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/page-break-lines 2da89cae7d 66/80: Add fboundp check for l
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/page-break-lines 2da89cae7d 66/80: Add fboundp check for line-number-display-width |
Date: |
Tue, 5 Sep 2023 04:03:08 -0400 (EDT) |
branch: elpa/page-break-lines
commit 2da89cae7db5ab60aa85a045dc50cd019433aba0
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>
Add fboundp check for line-number-display-width
---
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 4b8d7c785f..8c68fed613 100644
--- a/page-break-lines.el
+++ b/page-break-lines.el
@@ -130,7 +130,8 @@ its display table will be modified as necessary."
(set-face-attribute 'page-break-lines nil :height default-height)
(let* ((cwidth (char-width page-break-lines-char))
(wwidth-pix (- (window-width nil t)
- (if (bound-and-true-p display-line-numbers)
+ (if (and (bound-and-true-p
display-line-numbers)
+ (fboundp
'line-number-display-width))
(line-number-display-width t)
0)))
(width (- (/ wwidth-pix (frame-char-width) cwidth)
- [nongnu] elpa/page-break-lines 610887764e 27/80: Update MELPA URLs, (continued)
- [nongnu] elpa/page-break-lines 610887764e 27/80: Update MELPA URLs, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 36d3f93a23 34/80: More efficiently update display tables, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 92d7d1b699 33/80: Also update display tables via after-setting-font-hook, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 965bc23670 03/80: Add a basic README, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines d1d87ba829 17/80: Mark up code in README as lisp, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 5d0e9d140a 22/80: Add help-mode to the list of default modes, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines b75fe828dc 26/80: Add MELPA badges, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines eb42a4150d 19/80: Omit redundant buffer argument to minibufferp, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 17ef8e30de 64/80: Add FUNDING.yml, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines ae1c006598 52/80: Current code requires Emacs 24.4, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 2da89cae7d 66/80: Add fboundp check for line-number-display-width,
ELPA Syncer <=
- [nongnu] elpa/page-break-lines 79eca86e06 78/80: Add Emacs 28.2 to CI, cut down size of matrix, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 8d397a9471 72/80: Fix link, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 4285943db3 13/80: Enable in derived modes of `page-break-lines-modes', ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 000f6a3d7c 37/80: Also trigger on the new window-size-change-functions hook, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 925447ac16 31/80: Update copyright year, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 28a152d9b2 41/80: Merge pull request #11 from xahlee/master, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 4864661bf6 58/80: Allow specifying maximum width of page break indicator, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 9b509e2cb2 57/80: Merge pull request #21 from kyleam/fix-var-ref, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 6a7dd69727 63/80: Enable lexical-binding, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 460567485e 71/80: Tidy up readme links. prefer https, update footer, ELPA Syncer, 2023/09/05