summaryrefslogtreecommitdiffhomepage
path: root/custom
diff options
context:
space:
mode:
Diffstat (limited to 'custom')
-rw-r--r--custom/jao-custom-completion.el2
-rw-r--r--custom/jao-custom-gnus.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/custom/jao-custom-completion.el b/custom/jao-custom-completion.el
index 0e36fcc..c5c3e52 100644
--- a/custom/jao-custom-completion.el
+++ b/custom/jao-custom-completion.el
@@ -403,7 +403,7 @@
(define-key embark-url-map (kbd "f") #'browse-url-firefox)
(define-key embark-url-map (kbd "x") #'jao-rss-subscribe)
(define-key embark-url-map (kbd "m") 'jao-browse-with-external-browser)
-(define-key embark-url-map (kbd "p") 'jao-browse-add-url-to-mpc)
+(define-key embark-url-map (kbd "p") 'jao-mpc-add-or-play-url)
;;;; video url targets
(defvar jao-embark-targets-video-sites
diff --git a/custom/jao-custom-gnus.el b/custom/jao-custom-gnus.el
index 8f76563..d8a0b6e 100644
--- a/custom/jao-custom-gnus.el
+++ b/custom/jao-custom-gnus.el
@@ -704,7 +704,7 @@
(when (search-forward "Enclosure:")
(forward-char 2)
(when-let ((url (thing-at-point-url-at-point)))
- (jao-browse-add-url-to-mpc url))))))
+ (jao-mpc-add-or-play-url url))))))
;;; Add-ons
;;;; gnus-icalendar