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

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

[elpa] externals/ampc 8458cea92e 075/111: * ampc.el (ampc-yield): Use in


From: Stefan Monnier
Subject: [elpa] externals/ampc 8458cea92e 075/111: * ampc.el (ampc-yield): Use incf rather than setf/1+.
Date: Tue, 20 Feb 2024 18:16:42 -0500 (EST)

branch: externals/ampc
commit 8458cea92e08391cf39d51f620ace13e2a0d1b15
Author: Christopher Schmidt <christopher@ch.ristopher.com>
Commit: Christopher Schmidt <christopher@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

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