summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-browse.el
diff options
context:
space:
mode:
Diffstat (limited to 'custom/jao-custom-browse.el')
-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)