From 024afb7d53582cd16a7fdc8a239da954b6fd6eac Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Fri, 18 Oct 2019 08:45:04 -0400 Subject: [PATCH] Re-add missing play at point function for mpdel #emacs --- emacs/.config/doom/config.el | 7 +++++++ 1 file changed, 7 insertions(+) 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)))