branch: master
commit e9c2538d0b419c2b3e4210adab6a8fb1db5c7b85
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
counsel.el (counsel-rhythmbox-history): Add
* counsel.el (counsel-rhythmbox): Update.
---
counsel.el | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/counsel.el b/counsel.el
index 0c589e1..5d14416 100644
--- a/counsel.el
+++ b/counsel.el
@@ -699,6 +699,9 @@ Usable with `ivy-resume', `ivy-next-line-and-call' and
(dbus-call-method :session service path interface
"AddToQueue" (rhythmbox-song-uri song))))
+(defvar counsel-rhythmbox-history nil
+ "History for `counsel-rhythmbox'.")
+
;;;###autoload
(defun counsel-rhythmbox ()
"Choose a song from the Rhythmbox library to play or enqueue."
@@ -711,6 +714,7 @@ Usable with `ivy-resume', `ivy-next-line-and-call' and
(sit-for 0.1)))
(ivy-read "Rhythmbox: "
(helm-rhythmbox-candidates)
+ :history 'counsel-rhythmbox-history
:action
'(1
("Play song" helm-rhythmbox-play-song)