* An unbalanced parenthesis in eintr.info.gz?
@ 2020-08-31 5:39 =?gb18030?B?5+forg==?=
2020-08-31 9:44 ` Stefan Kangas
0 siblings, 1 reply; 3+ messages in thread
From: =?gb18030?B?5+forg==?= @ 2020-08-31 5:39 UTC (permalink / raw)
To: =?gb18030?B?aGVscC1nbnUtZW1hY3M=?=
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 330 bytes --]
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: An unbalanced parenthesis in eintr.info.gz?
2020-08-31 5:39 An unbalanced parenthesis in eintr.info.gz? =?gb18030?B?5+forg==?=
@ 2020-08-31 9:44 ` Stefan Kangas
2020-08-31 12:18 ` Reply: " =?gb18030?B?5+forg==?=
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Kangas @ 2020-08-31 9:44 UTC (permalink / raw)
To: 珑璁, help-gnu-emacs
"珑璁" <yanchi.x@foxmail.com> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-08-31 12:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-31 5:39 An unbalanced parenthesis in eintr.info.gz? =?gb18030?B?5+forg==?=
2020-08-31 9:44 ` Stefan Kangas
2020-08-31 12:18 ` Reply: " =?gb18030?B?5+forg==?=
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).