diff options
-rw-r--r-- | lisp/mastodon-tl.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 0bfa613..a35ae5e 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -1365,7 +1365,11 @@ in which case play first video or gif from current toot." (if (mastodon-tl--media-video-p type) (progn (message "'q' to kill mpv.") - (mpv-start "--loop" url)) + (condition-case x + (mpv-start "--loop" url) + (void-function + (message "Looks like mpv.el not installed. Error: %s" + (error-message-string x))))) (message "no moving image here?")) (message "no moving image here?")))) |