Skip to content

Commit

Permalink
Fix mode check for dslide-develop command
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
psionic-k committed Jun 22, 2024
1 parent ce3805d commit 0326d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dslide.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0326d4d

Please sign in to comment.