summaryrefslogtreecommitdiff
path: root/emacs.org
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-08-09 04:19:15 +0300
committerThanos Apollo <[email protected]>2023-08-09 04:19:15 +0300
commit6c50b15cf9b4bd1da3d452fe62798ca6349d418e (patch)
tree40b9287d074ab7267663f6a2ae926231376e33ee /emacs.org
parent832045034a522032ec4185409a90ae65afbe6149 (diff)
elfeed: Fix elfeed-v-mpv
Use call-process-shell-command instead
Diffstat (limited to 'emacs.org')
-rwxr-xr-xemacs.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs.org b/emacs.org
index 733d855..c81d5da 100755
--- a/emacs.org
+++ b/emacs.org
@@ -787,7 +787,7 @@ Create function to watch videos using ~mpv~
#+begin_src emacs-lisp
(defun elfeed-v-mpv (url)
"Watch a video from URL in MPV"
- (async-shell-command (format "mpv \"%s\"" url)))
+ (call-process-shell-command (format "mpv \"%s\"" url) nil 0))
(defun elfeed-view-mpv (&optional use-generic-p)
"Youtube-feed link"