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: vidak
Subject: Re: Virtual pet for Emacs
Date: Wed, 04 May 2022 08:53:10 -0700

On 2022-05-04 19:34, Rudolf Adamkovič wrote:
> vidak@riseup.net writes:
> 
>> Hello!
> 
> Howdy!
> 
>> I am making a virtual pet simulation game for Emacs.
> 
> I wanted to try the pet today, but when I run ‘uwu-mode’, I get:
> 
> Error running timer ‘uwu-animation-loop’: (void-function return)
> 
> I tracked the problem down to:
> 
> (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+))))))
> 
> My Emacs (v29 from Git) does not define "return".
> 
> Any ideas what to do?
> 
> Rudy

Hey! I just wanted to email back quickly to say I have seen your email,
and I think I have a quick fix!

I am just going to bed now, when I get back to my workstation I will
make the necessary changes (:

~vidak



reply via email to

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