help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Virtual pet for Emacs


From: Stefan Monnier
Subject: Re: Virtual pet for Emacs
Date: Wed, 04 May 2022 22:14:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> (defun points-to-evolution (total-points)
>   (dolist (points +pet-evolution-tree+)
>     (if (> (car points) total-points)
>       (return ;; <------------------- HERE
>        (nth 1
>         (assoc (car points) +pet-evolution-tree+))))))

That should be `cl-dolist` and `cl-return`.


        Stefan




reply via email to

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