[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60103: 28.2; Doc string of `previous-history-element'
From: |
Eli Zaretskii |
Subject: |
bug#60103: 28.2; Doc string of `previous-history-element' |
Date: |
Fri, 16 Dec 2022 20:48:19 +0200 |
> From: Drew Adams <drew.adams@oracle.com>
> CC: "60103@debbugs.gnu.org" <60103@debbugs.gnu.org>
> Date: Fri, 16 Dec 2022 17:53:34 +0000
>
> > > The doc string says this:
> > >
> > > Puts previous element of the minibuffer history in the minibuffer.
> > > With argument N, it uses the Nth previous element.
> > >
> > > That second line makes it sound like arg N is optional. It's not -
> > > there is no _without_ argument N.
> >
> > What do you mean by "no _without_"? This command is bound to M-p in
> > the minibuffer, and I can definitely invoke it as "just" M-n,
> > _without_ any prefix argument.
>
> I mean "without argument N", not "without a prefix
> arg".
>
> It's not possible to invoke the function without
> providing argument N - it's not optional.
>
> If you want to say something like "With numeric
> prefix argument N..." then that would be fine.
That's what I did (the original doc string didn't mention the prefix
argument explicitly, but clearly alluded to that when it said
"argument").