[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Virtual pet for Emacs
From: |
Rudolf Adamkovič |
Subject: |
Re: Virtual pet for Emacs |
Date: |
Wed, 04 May 2022 13:34:22 +0200 |
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
--
"Genius is 1% inspiration and 99% perspiration."
-- Thomas Alva Edison, 1932
Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia