[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dslide da4e8dd412 016/230: user error instead of silent fa
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dslide da4e8dd412 016/230: user error instead of silent failure |
Date: |
Sun, 7 Jul 2024 19:00:08 -0400 (EDT) |
branch: elpa/dslide
commit da4e8dd4121ae7b97ff8142bce1831e47d25f5cb
Author: Psionik K <73710933+psionic-k@users.noreply.github.com>
Commit: Psionik K <73710933+psionic-k@users.noreply.github.com>
user error instead of silent failure
Signed-off-by: Psionik K <73710933+psionic-k@users.noreply.github.com>
---
org-tree-slide.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/org-tree-slide.el b/org-tree-slide.el
index 275eddd896..7aec095cba 100644
--- a/org-tree-slide.el
+++ b/org-tree-slide.el
@@ -670,8 +670,9 @@ This is displayed by default if
`org-tree-slide-modeline-display' is nil.")
(defun org-tree-slide--abort ()
"Abort."
- (when (equal major-mode 'org-mode)
- (org-tree-slide--stop)))
+ (unless (equal major-mode 'org-mode)
+ (user-error "Not an org mode buffer"))
+ (org-tree-slide--stop))
(defun org-tree-slide--play ()
"Start slide view with the first tree of the org mode buffer."
- [nongnu] elpa/dslide 0732479ac8 019/230: rearrange, (continued)
- [nongnu] elpa/dslide 0732479ac8 019/230: rearrange, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 393985506a 021/230: After-narrow-hook, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide dddbc58e20 020/230: The repackaging. org-tree-slide -> macro-slides, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 10ee601187 007/230: enable lexical binding, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide b9219d205c 023/230: typos, comments, line-noise, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 1dbbed70f8 025/230: missing custom group & type, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 63d93ec6bf 028/230: Dead code on slide, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 9a67bc2f3e 026/230: line noise, compiler warnings, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 3e7ceb0845 024/230: missing deps, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 1d8041aba1 027/230: Sequence (slide) callbacks, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide da4e8dd412 016/230: user error instead of silent failure,
ELPA Syncer <=
- [nongnu] elpa/dslide 018b39cfa5 030/230: Remove some coupling between actions and slides, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide b26e0155d8 043/230: base action is abstract, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 027ae16365 046/230: cleaning up some line noise, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide e100759664 042/230: remove extraneous slot-bound checks, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 2fcaadcf52 040/230: whitespace and comments, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide ea60e6e53e 035/230: prevent animation timer reference from being lost, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide d66218b161 093/230: Inhibit redisplay during babel blocks, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide ff39c2f490 087/230: Display strategy, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 2aa53d8341 094/230: recenter after opening contents, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide b57afb0da4 122/230: default breadcrumb face to inherit org-level-8, ELPA Syncer, 2024/07/07