[Top][All Lists]

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

Re: An unbalanced parenthesis in

From: Stefan Kangas
Subject: Re: An unbalanced parenthesis in
Date: Mon, 31 Aug 2020 09:44:59 +0000

"珑璁" <> writes:

> In node 3.7.1 "The 'type-of-animal' Function in Detail"
> On line 3309 (emacs v27.1, and in v26.3 it's on line 3307), I think there is 
> an extra parenthesis in the code:
> ```
>         (if (equal characteristic "fierce")
>             (message "It is a tiger!")))
> ```
> Is this *info* designed to write like this or just a typo?

[This is (info "(eintr) type-of-animal in detail").]

This is just a typo, likely from copying the end of this function:

    (defun type-of-animal (characteristic)
           (if (equal characteristic "fierce")
               (message "It is a tiger!")))

I have fixed it on emacs-27 (commit f20169399d).

Best regards,
Stefan Kangas

reply via email to

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