diff options
Diffstat (limited to 'gnus.org')
-rw-r--r-- | gnus.org | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -749,8 +749,8 @@ (jao-browse-with-external-browser) (browse-url (jao-url-around-point)))))) - (defun jao-gnus-open-enclosure (&optional playp) - (interactive "P") + (defun jao-gnus-open-enclosure () + (interactive) (save-window-excursion (gnus-summary-select-article-buffer) (save-excursion @@ -758,10 +758,7 @@ (when (search-forward "Enclosure:") (forward-char 2) (when-let ((url (thing-at-point-url-at-point))) - (message "%s %s ..." (if playp "Playing" "Adding") url) - (when playp (jao-mpc-clear)) - (jao-mpc-add-url url) - (when playp (jao-mpc-play))))))) + (jao-browse-add-url-to-mpc url)))))) #+end_src * Keyboard shortcuts #+begin_src emacs-lisp |