From cea5d57c6307bb4e027a7af6c5dad7001b29e843 Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 29 Nov 2025 12:56:45 +0000 Subject: darwin has mpv --- custom/jao-custom-browse.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'custom') diff --git a/custom/jao-custom-browse.el b/custom/jao-custom-browse.el index 76ea32d..a535baf 100644 --- a/custom/jao-custom-browse.el +++ b/custom/jao-custom-browse.el @@ -88,7 +88,7 @@ (interactive) (let ((w (read-char "View video (v) or web page (w)? "))) (cond ((eq w ?v) (jao-view-video url)) - ((eq w ?w) (funcall jao-browse-url-function url)) + ((eq w ?w) (funcall jao-browse-url-external-function url)) (t (message "Aborted"))))) ;;; web browsers @@ -179,7 +179,7 @@ (defun jao-browse-setup () (jao-d-l (setq browse-url-handlers - `((jao-video--url-p . jao-mac-open) + `((jao-video--url-p . jao-maybe-view-video) (,jao--doc-exts . jao-mac-open) (,jao--see-exts . jao-mac-open) ("^file://?.+\\.html?$" . ,jao-browse-url-function) -- cgit v1.2.3