[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dslide 55803bc16a 224/230: Respect custom header option wh
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dslide 55803bc16a 224/230: Respect custom header option when narrowing to contents view |
Date: |
Sun, 7 Jul 2024 19:00:45 -0400 (EDT) |
branch: elpa/dslide
commit 55803bc16a729a1a8ed1e785405feac3cb53878e
Author: Psionik K <73710933+psionic-k@users.noreply.github.com>
Commit: Psionik K <73710933+psionic-k@users.noreply.github.com>
Respect custom header option when narrowing to contents view
---
dslide.el | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/dslide.el b/dslide.el
index b8dda149fe..a4755d3cfe 100644
--- a/dslide.el
+++ b/dslide.el
@@ -2794,14 +2794,15 @@ each slide show from the contents view."
(goto-char (org-element-property :begin (dslide--root-heading-at-point)))
(recenter)
+ (if-let ((first (dslide--document-first-heading)))
+ (narrow-to-region (org-element-property :begin first)
+ (point-max))
+ ;; No first heading. Just header. Empty contents.
+ (narrow-to-region (point-max)
+ (point-max)))
+ (run-hooks 'dslide-narrow-hook)
+
(when dslide-header
- (if-let ((first (dslide--document-first-heading)))
- (narrow-to-region (org-element-property :begin first)
- (point-max))
- ;; No first heading. Just header. Empty contents.
- (narrow-to-region (point-max)
- (point-max)))
- (run-hooks 'dslide-narrow-hook)
(dslide--make-header t))
(when dslide-contents-selection-highlight
- [nongnu] elpa/dslide 41a5681e00 210/230: compiler warning, (continued)
- [nongnu] elpa/dslide 41a5681e00 210/230: compiler warning, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 2b5c56ab84 219/230: use sub-headings for demos, some drive-by, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide d0e1177ab5 218/230: ensure correct scroll position in all windows, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 0aac570ba0 211/230: punching a compiler warning, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide ce3805d697 216/230: remove sneaky plus symbols from applying patch manually, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 25a0f79723 213/230: adminsitrative & version bump, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 54e2a8fdc4 230/230: readme fixups., ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 907e004bca 226/230: Configurable header function, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 8f56d6914d 221/230: Fix fat-finger in d0e1177, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 69eed331ca 222/230: melpa badges and mild readme updates, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 55803bc16a 224/230: Respect custom header option when narrowing to contents view,
ELPA Syncer <=
- [nongnu] elpa/dslide 461a022068 038/230: Narrowing is a slide action. A tale of improvement., ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 407aa5cf3b 143/230: recenter in base buffer after quit, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 145b06df68 196/230: indentation / expression nested hiccup, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide dd3b7c5298 199/230: Configurable element hiding, including comment-blocks, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide fa1e9e2d88 200/230: inhibit re-display around entire steps, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide d57ce09545 207/230: un-hide new results from blocks configured :exports results, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide f592ee157b 208/230: don't remove results going backward, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 3830850d00 214/230: Typos, dead code, updating comments, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 2d8a9ac3e3 229/230: version bump, ELPA Syncer, 2024/07/07