Re: [PATCH] Add help.autocorrect to enable/disable autocorrecting
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 22, 2008, 21:08 UTC
- Message-ID
- <alpine.DEB.1.00.0807222207110.8986@racer>
- In-Reply-To
- <20080722210354.GD5113@blimp.local>
Hi,
On Tue, 22 Jul 2008, Alex Riesen wrote:
Show 5 quoted lines
> + if (autocorrect && (main_cmds.cnt < 2 ||
> + best_similarity < similarity(main_cmds.names[1]->name))) {
> if (!*cwd)
> exit(1);
> if (chdir(cwd))In that case, you need to put in the "one of these" / "this" conditional again, which I ripped out because I do not need it any more.
Ciao, Dscho