diff options
-rw-r--r-- | configs/shared/.emacs.d/wpc/cycle.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/shared/.emacs.d/wpc/cycle.el b/configs/shared/.emacs.d/wpc/cycle.el index 762488887ddf..894626383049 100644 --- a/configs/shared/.emacs.d/wpc/cycle.el +++ b/configs/shared/.emacs.d/wpc/cycle.el @@ -26,10 +26,10 @@ ;; `xs' is the original list (cl-defstruct cycle current-index xs) -(defun cycle/new () +(defun cycle/new (&rest xs) "Create an empty cycle." (make-cycle :current-index 0 - :xs '())) + :xs xs)) (defun cycle/from-list (xs) "Create a cycle from a list of `XS'." |