[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/page-break-lines 4285943db3 13/80: Enable in derived modes
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/page-break-lines 4285943db3 13/80: Enable in derived modes of `page-break-lines-modes' |
Date: |
Tue, 5 Sep 2023 04:03:04 -0400 (EDT) |
branch: elpa/page-break-lines
commit 4285943db3a51bab976c45a9f157878d62e070fa
Author: David Rothlisberger <david@rothlis.net>
Commit: David Rothlisberger <david@rothlis.net>
Enable in derived modes of `page-break-lines-modes'
For example if `page-break-lines-modes' contains `prog-mode',
`global-page-break-lines-mode' will apply to `python-mode', `c-mode',
etc.
Tested on Emacs 24.2.
---
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 22c6238439..d8a2aac364 100644
--- a/page-break-lines.el
+++ b/page-break-lines.el
@@ -122,7 +122,7 @@ horizontal line of `page-break-string-char' characters."
When `major-mode' is listed in `page-break-lines-modes', then
`page-break-lines-mode' will be enabled."
(if (and (not (minibufferp (current-buffer)))
- (memq major-mode page-break-lines-modes))
+ (apply 'derived-mode-p page-break-lines-modes))
(page-break-lines-mode 1)))
;;;###autoload
- [nongnu] elpa/page-break-lines 965bc23670 03/80: Add a basic README, (continued)
- [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, 2023/09/05
- [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 <=
- [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
- [nongnu] elpa/page-break-lines b72e1c4f96 02/80: Fix function names, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 5420486ed3 15/80: Rule can apparently extend safely to the full window width, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines fd3de66bb8 29/80: Mention @wasamasa's similar form-feed package, ELPA Syncer, 2023/09/05