emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master e9c2538 19/63: counsel.el (counsel-rhythmbox-history): Add


From: Oleh Krehel
Subject: [elpa] master e9c2538 19/63: counsel.el (counsel-rhythmbox-history): Add
Date: Fri, 21 Aug 2015 12:08:35 +0000

branch: master
commit e9c2538d0b419c2b3e4210adab6a8fb1db5c7b85
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]