From: "A. Lloyd Flanagan" <a.lloyd.flanagan@gmail.com>
To: Stephen Berman <stephen.berman@gmx.net>, 24740@debbugs.gnu.org
Subject: bug#24740: 26.0.50; Bad signature for alist-get in elisp manual
Date: Thu, 20 Oct 2016 01:00:15 +0000 [thread overview]
Message-ID: <CAF2jC4GLcXF5+DQtCLsr94Dve0HBfpKHnWOKRBF5gASG8Q3zvA@mail.gmail.com> (raw)
In-Reply-To: <87funrq57g.fsf@gmx.net>
[-- Attachment #1: Type: text/plain, Size: 1503 bytes --]
Yes, good catch.
On Wed, Oct 19, 2016, 7:39 PM Stephen Berman <stephen.berman@gmx.net> wrote:
> On Wed, 19 Oct 2016 21:12:00 +0300 Eli Zaretskii <eliz@gnu.org> wrote:
>
> >> From: a.lloyd.flanagan@gmail.com (A. Lloyd Flanagan)
> >> Date: Wed, 19 Oct 2016 13:01:51 -0400
> >>
> >> In the elisp manual, section "Association Lists", the function alist-get
> >> is shown with the signature:
> >>
> >> Function: alist-get key value &optional default remove
> >>
> >> but it should be
> >>
> >> Function: alist-get key alist &optional default remove
> >
> > Thanks, fixed on the emacs-25 branch.
>
>
> > -@defun alist-get key value &optional default remove
> > +@defun alist-get key alist &optional default remove
> > This function is like @code{assq}, but instead of returning the entire
> > -association for @var{key}, @code{(@var{key} . @var{value})}, it
> > -returns just the @var{value}. If @var{key} is not found in
> > -@var{alist} it returns @var{default}.
> > +association for @var{key} in @var{alist},
> > +@w{@code{(@var{key} . @var{value})}}, it returns just the @var{value}.
> ^^^^^^^^^^^
> > +If @var{key} is not found in @var{alist}, it returns @var{default}.
>
> Shouldn't the text be "it returns just the value", i.e. without the
> markup, since `value' is no longer a formal argument of the function
> signature?
>
> Steve Berman
>
--
"They have computers, and they may have other weapons of mass destruction."
-- Janet Reno
[-- Attachment #2: Type: text/html, Size: 2894 bytes --]
next prev parent reply other threads:[~2016-10-20 1:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-19 17:01 bug#24740: 26.0.50; Bad signature for alist-get in elisp manual A. Lloyd Flanagan
2016-10-19 18:12 ` Eli Zaretskii
2016-10-19 23:39 ` Stephen Berman
2016-10-20 1:00 ` A. Lloyd Flanagan [this message]
2016-10-20 7:49 ` Eli Zaretskii
2016-10-20 8:10 ` Stephen Berman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAF2jC4GLcXF5+DQtCLsr94Dve0HBfpKHnWOKRBF5gASG8Q3zvA@mail.gmail.com \
--to=a.lloyd.flanagan@gmail.com \
--cc=24740@debbugs.gnu.org \
--cc=stephen.berman@gmx.net \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.