✨ (emms) Add play-url-at-point function
This commit is contained in:
parent
122529c41c
commit
3bd68eed6f
1 changed files with 11 additions and 0 deletions
11
config.org
11
config.org
|
@ -2110,6 +2110,17 @@ And for playing music in Emacs there is EMMS.
|
||||||
(setq emms-source-file-default-directory "~/Music"))
|
(setq emms-source-file-default-directory "~/Music"))
|
||||||
#+end_src
|
#+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)
|
* ERC (the Emacs IRC client)
|
||||||
|
|
||||||
** The beast itself
|
** The beast itself
|
||||||
|
|
Loading…
Add table
Reference in a new issue