[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/logos f03cf3ebd9 06/25: Fix fallback value of logos-out
From: |
ELPA Syncer |
Subject: |
[elpa] externals/logos f03cf3ebd9 06/25: Fix fallback value of logos-outline-regexp-alist |
Date: |
Fri, 11 Mar 2022 08:58:00 -0500 (EST) |
branch: externals/logos
commit f03cf3ebd9480806f8d9bb456cd0c17582e4bd07
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Fix fallback value of logos-outline-regexp-alist
---
logos.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/logos.el b/logos.el
index 9bcaa59d7b..326264b802 100644
--- a/logos.el
+++ b/logos.el
@@ -92,10 +92,13 @@ When this variable is nil, pages are demarcated by the
:type 'boolean
:group 'logos)
+(defconst logos--page-delimiter (default-value 'page-delimiter)
+ "The default value of `page-delimiter'.")
+
(defcustom logos-outline-regexp-alist ; TODO 2022-03-02: more sensible
outlines?
- '((emacs-lisp-mode . "^;;;+ ")
+ `((emacs-lisp-mode . "^;;;+ ")
(org-mode . "^\\*+ +")
- (t . (or outline-regexp logos--page-delimiter)))
+ (t . ,(or outline-regexp logos--page-delimiter)))
"Alist of major mode and regular expression of the outline.
Only used when `logos-outlines-are-pages' is non-nil."
:type `(alist :key-type symbol :value-type string) ; TODO 2022-03-02: ensure
symbol is mode?
@@ -135,9 +138,6 @@ This is only relevant when `logos-focus-mode' is enabled."
(when (bound-and-true-p logos-focus-mode)
(buffer-local-value 'logos-focus-mode (current-buffer))))
-(defconst logos--page-delimiter (default-value 'page-delimiter)
- "The default value of `page-delimiter'.")
-
;;;; Page motions
(defun logos--outline-regexp ()
- [elpa] branch externals/logos created (now dc52fc3f04), ELPA Syncer, 2022/03/11
- [elpa] externals/logos 804f39e21e 03/25: Make the "focus mode" variables local, ELPA Syncer, 2022/03/11
- [elpa] externals/logos d41217e007 05/25: Tweak documentation and Commentary, ELPA Syncer, 2022/03/11
- [elpa] externals/logos c0a2074a85 01/25: Initial commit for logos.el and related, ELPA Syncer, 2022/03/11
- [elpa] externals/logos f03cf3ebd9 06/25: Fix fallback value of logos-outline-regexp-alist,
ELPA Syncer <=
- [elpa] externals/logos 7f5010f3a0 10/25: Add Org/Outline reveal sample; update docs, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 60f7eaf5f7 13/25: Update Commentary with code sample for Org/Outline, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 95000cf597 04/25: Minor rewording in the Commentary, ELPA Syncer, 2022/03/11
- [elpa] externals/logos bbc89495e3 08/25: Add section with sample configuration, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 28e2d2ae27 12/25: Reword comment, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 07cd1b412f 17/25: Update sample code for outline-mode, ELPA Syncer, 2022/03/11
- [elpa] externals/logos a63d1ab315 20/25: Always reveal Org/Outline entry, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 26ecd9b72f 22/25: Update description, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 88b2a7ca61 11/25: Tweak sample code for local variables, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 69cabed870 09/25: Run hook after page motion, ELPA Syncer, 2022/03/11