[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dslide 50e2a8ca37 009/230: use before-string instead of di
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dslide 50e2a8ca37 009/230: use before-string instead of display for header |
Date: |
Sun, 7 Jul 2024 19:00:07 -0400 (EDT) |
branch: elpa/dslide
commit 50e2a8ca37b9475f5b3d2038d97a7ac9b4ea784e
Author: Psionik K <73710933+psionic-k@users.noreply.github.com>
Commit: Psionik K <73710933+psionic-k@users.noreply.github.com>
use before-string instead of display for header
Using 'display was making the level 1 header bullets invisible. Instead of
using display, we can use before-string, which will not affect the text
under
the overlay.
The before string will not be formatted by
org-tree-slide-header-overlay-face so
this will need to be replaced. Customization of header text will be
replaced in
a future commit to re-enable org-tree-slide-header-overlay-face
---
org-tree-slide.el | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/org-tree-slide.el b/org-tree-slide.el
index a8ce1b2e1b..523b432ea8 100644
--- a/org-tree-slide.el
+++ b/org-tree-slide.el
@@ -899,12 +899,8 @@ Some number of BLANK-LINES will be shown below the header."
(org-tree-slide--hide-slide-header)
(setq org-tree-slide--header-overlay
(make-overlay (point-min) (+ 1 (point-min))))
- (overlay-put org-tree-slide--header-overlay 'after-string " ")
- (overlay-put org-tree-slide--header-overlay
- 'face
- 'org-tree-slide-header-overlay-face)
(if org-tree-slide-header
- (overlay-put org-tree-slide--header-overlay 'display
+ (overlay-put org-tree-slide--header-overlay 'before-string
(concat (if org-tree-slide-title org-tree-slide-title
(buffer-name))
"\n"
@@ -921,7 +917,7 @@ Some number of BLANK-LINES will be shown below the header."
(concat "\n" (org-tree-slide--get-parents
org-tree-slide-breadcrumbs)))
(org-tree-slide--get-blank-lines blank-lines)))
- (overlay-put org-tree-slide--header-overlay 'display
+ (overlay-put org-tree-slide--header-overlay 'before-string
(org-tree-slide--get-blank-lines blank-lines))))
(defun org-tree-slide--get-blank-lines (lines)
- [nongnu] branch elpa/dslide created (now 54e2a8fdc4), ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 1c92fef5e6 004/230: Add an overriding face to the breadcrumbs, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 50e2a8ca37 009/230: use before-string instead of display for header,
ELPA Syncer <=
- [nongnu] elpa/dslide c00b3ac258 017/230: rearrangement, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 1b67456311 013/230: rearrangement, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide e8ccef6575 014/230: rearrangement, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 94357940d8 029/230: Actions track their own headings, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide dd8fe96b10 033/230: Buffer slide -> Push steps, global presentation, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 66215639a5 047/230: Image action displays inline images in its init method, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 27e87a7c6d 003/230: Option to not show author and title in header even when present, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide f8aa534207 001/230: Fix compiler warnings. Obsolete functions, too long comment, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide e4beb23e57 002/230: Match breadcrumb separator to text properties from previous heading, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 597ed25aa2 022/230: hook cleanup, ELPA Syncer, 2024/07/07