emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/dslide 0326d4d115 217/230: Fix mode check for dslide-devel


From: ELPA Syncer
Subject: [nongnu] elpa/dslide 0326d4d115 217/230: Fix mode check for dslide-develop command
Date: Sun, 7 Jul 2024 19:00:44 -0400 (EDT)

branch: elpa/dslide
commit 0326d4d115a502c0f6874ed54305ed1d96de6ff1
Author: Psionik K <73710933+psionic-k@users.noreply.github.com>
Commit: Psionik K <73710933+psionic-k@users.noreply.github.com>

    Fix mode check for dslide-develop command
    
    And.. no more trusting random suggestions from the mailing list.  That was 
one
    of 3 typos of the variety I would not expect when suggesting changes.
---
 dslide.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dslide.el b/dslide.el
index 99cac0ca6f..a13d46dec3 100644
--- a/dslide.el
+++ b/dslide.el
@@ -2876,7 +2876,7 @@ video or custom actions."
   "Show both the base and slide buffer."
   (interactive)
   (let ((major-mode (buffer-local-value 'major-mode (current-buffer))))
-    (unless (or (dslide-live-p) (derived-mode-p '(org-mode)))
+    (unless (or (dslide-live-p) (derived-mode-p 'org-mode))
       (user-error "Not an org buffer and no other live presentation"))
     (if (dslide-live-p)
         ;;  show the correct buffers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]