From: Stefan Kangas <stefankangas@gmail.com>
To: 珑璁 <yanchi.x@foxmail.com>, help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: An unbalanced parenthesis in eintr.info.gz?
Date: Mon, 31 Aug 2020 09:44:59 +0000 [thread overview]
Message-ID: <CADwFkmkrvb47XXGtMROdndCEMZtpxHSvKqmcxCWT=iV=s_Hc4A@mail.gmail.com> (raw)
In-Reply-To: <tencent_AC15B3063FC937C6C6583D28DA78AB873409@qq.com>
"珑璁" <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
next prev parent reply other threads:[~2020-08-31 9:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-31 5:39 An unbalanced parenthesis in eintr.info.gz? =?gb18030?B?5+forg==?=
2020-08-31 9:44 ` Stefan Kangas [this message]
2020-08-31 12:18 ` Reply: " =?gb18030?B?5+forg==?=
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADwFkmkrvb47XXGtMROdndCEMZtpxHSvKqmcxCWT=iV=s_Hc4A@mail.gmail.com' \
--to=stefankangas@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=yanchi.x@foxmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).