(emms) Add play-url-at-point function

This commit is contained in:
Marcel Kapfer 2025-02-10 17:24:48 +01:00
parent 122529c41c
commit 3bd68eed6f
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -2110,6 +2110,17 @@ And for playing music in Emacs there is EMMS.
(setq emms-source-file-default-directory "~/Music"))
#+end_src
Play an URL at point using EMMS
#+begin_src emacs-lisp
(with-eval-after-load 'emms
(defun mmk2410/play-url-at-point ()
"Play URL at point using EMMS"
(interactive)
(emms-play-url
(shr-url-at-point nil))))
#+end_src
* ERC (the Emacs IRC client)
** The beast itself