branch: externals/ampc
commit 8458cea92e08391cf39d51f620ace13e2a0d1b15
Author: Christopher Schmidt <christop...@ch.ristopher.com>
Commit: Christopher Schmidt <christop...@ch.ristopher.com>

    * ampc.el (ampc-yield): Use incf rather than setf/1+.
---
 ampc.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ampc.el b/ampc.el
index f095ebf66e..13681e16be 100644
--- a/ampc.el
+++ b/ampc.el
@@ -1222,7 +1222,7 @@ all the time!"
                  (ampc-insert playlist playlist))))))
 
 (defun ampc-yield ()
-  (setf ampc-yield (1+ ampc-yield))
+  (incf ampc-yield)
   (ampc-fill-status))
 
 (defun ampc-fill-status ()

Reply via email to