Skip to content

Commit

Permalink
fix #36: derived-mode-p expects rest arguments, not a list
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Jan 23, 2025
1 parent df0ba75 commit 008a8bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grip-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ Use default browser unless `xwidget' is available."
(add-hook 'kill-emacs-hook #'grip-stop-preview nil t)
(cond ((derived-mode-p 'org-mode)
(grip--preview-org))
((derived-mode-p '(markdown-mode markdown-ts-mode))
((derived-mode-p 'markdown-mode 'markdown-ts-mode)
(grip--preview-md))
(t
(grip-mode -1)
Expand Down

0 comments on commit 008a8bb

Please sign in to comment.