[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dslide 8dd7b6490b 206/230: enable clearing results going b
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dslide 8dd7b6490b 206/230: enable clearing results going backward and after exiting the slide |
Date: |
Sun, 7 Jul 2024 19:00:39 -0400 (EDT) |
branch: elpa/dslide
commit 8dd7b6490b4a27b626818fc7176709c4f407beec
Author: Psionik K <73710933+psionic-k@users.noreply.github.com>
Commit: Psionik K <73710933+psionic-k@users.noreply.github.com>
enable clearing results going backward and after exiting the slide
keeps things tidier
Signed-off-by: Psionik K <73710933+psionic-k@users.noreply.github.com>
---
dslide.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dslide.el b/dslide.el
index 4cc5492c04..d267bb0985 100644
--- a/dslide.el
+++ b/dslide.el
@@ -1437,6 +1437,8 @@ stateful-sequence class methods. METHOD-NAME is a
string."
(cl-defmethod dslide-end ((obj dslide-action-babel))
;; Do not use the default implementation because it will play all blocks
;; forward.
+ (when (oref obj remove-results)
+ (dslide--clear-all-results obj))
(dslide--hide-non-exports obj)
(dslide-marker obj (org-element-property :end (dslide-heading obj)))
(when-let ((block-elements (dslide--get-blocks obj "end")))
@@ -1444,7 +1446,9 @@ stateful-sequence class methods. METHOD-NAME is a
string."
(cl-defmethod dslide-final :after ((obj dslide-action-babel))
(when-let ((block-elements (dslide--get-blocks obj "final")))
- (mapc #'dslide--block-execute block-elements)))
+ (mapc #'dslide--block-execute block-elements))
+ (when (oref obj remove-results)
+ (dslide--clear-all-results obj)))
;; ** Image Action
- [nongnu] elpa/dslide f9a1c47bf7 179/230: Get rid of redundant parent slot on slides, (continued)
- [nongnu] elpa/dslide f9a1c47bf7 179/230: Get rid of redundant parent slot on slides, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 7784e7ad06 183/230: introducing every-child slide action, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide c9eeb66a9e 187/230: No-header slide action was incorrect in the demo, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 20c4a44f18 184/230: line noise, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 09b750ae6c 189/230: attempted to clean up some misinformation and update recommendations, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide ef1421cb82 190/230: Version 0.5.1, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide f529a1ed6b 193/230: Video url, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide ed197cf5cc 191/230: Finalize the current slide before displaying contents, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide baedd89de4 195/230: macro expansion was creating an unused expression, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 9874ec8263 204/230: Recenter follow buffer on slide change, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 8dd7b6490b 206/230: enable clearing results going backward and after exiting the slide,
ELPA Syncer <=
- [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