diff --git a/emacs/.config/doom/config.el b/emacs/.config/doom/config.el index 0d68b68..5dc970c 100644 --- a/emacs/.config/doom/config.el +++ b/emacs/.config/doom/config.el @@ -175,3 +175,10 @@ (load! "+mail") ;; Mail stuff (load! "+ranger") (load! "+wttrin") ;; Weather config + +(defun mpdel-playlist-play () + "Start playing the song at point." + (interactive) + (if (derived-mode-p 'mpdel-playlist-current-playlist-mode) + (libmpdel-play-song (navigel-entity-at-point)) + (mpdel-core-insert-current-playlist)))