Skip to content

Commit 0326d4d

Browse files
committed
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.
1 parent ce3805d commit 0326d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dslide.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2876,7 +2876,7 @@ video or custom actions."
28762876
"Show both the base and slide buffer."
28772877
(interactive)
28782878
(let ((major-mode (buffer-local-value 'major-mode (current-buffer))))
2879-
(unless (or (dslide-live-p) (derived-mode-p '(org-mode)))
2879+
(unless (or (dslide-live-p) (derived-mode-p 'org-mode))
28802880
(user-error "Not an org buffer and no other live presentation"))
28812881
(if (dslide-live-p)
28822882
;; show the correct buffers

0 commit comments

Comments
 (0)