summaryrefslogtreecommitdiffhomepage
path: root/completion.org
diff options
context:
space:
mode:
Diffstat (limited to 'completion.org')
-rw-r--r--completion.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/completion.org b/completion.org
index 7b30f3b..b5a6e2e 100644
--- a/completion.org
+++ b/completion.org
@@ -407,6 +407,7 @@
(defun jao-embark-targets--play-video (player url)
(interactive "sURL: ")
(let ((cmd (format "%s %s" player (shell-quote-argument url))))
+ (jao-afio--goto-www)
(start-process-shell-command player nil cmd)))
(defun jao-embark-targets-mpv (&optional url)
@@ -422,8 +423,8 @@
(embark-define-keymap jao-embark-targets-video-url-map
"Actions on URLs pointing to remote video streams."
:parent embark-url-map
- ("RET" jao-embark-targets-mpv)
- ("v" jao-embark-targets-vlc))
+ ("v" jao-embark-targets-mpv)
+ ("RET" jao-embark-targets-vlc))
(add-to-list 'embark-transformer-alist '(url . jao-embark-targets--refine-url))
(add-to-list 'embark-keymap-alist '(video-url . jao-embark-targets-video-url-map))