summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-11-29 12:56:45 +0000
committerjao <jao@gnu.org>2025-11-29 12:56:45 +0000
commitcea5d57c6307bb4e027a7af6c5dad7001b29e843 (patch)
tree3238c54dd4d83778d473150f1335261986e1d478
parent29fd8bf6925dd4e8d632a20f6eaf42fe62300c3b (diff)
downloadelibs-cea5d57c6307bb4e027a7af6c5dad7001b29e843.tar.gz
elibs-cea5d57c6307bb4e027a7af6c5dad7001b29e843.tar.bz2
darwin has mpvmain
-rw-r--r--custom/jao-custom-browse.el4
1 files changed, 2 insertions, 2 deletions
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)