* If the 'next!' ex command is given and the autowrite option is set, the

current file is not written anymore.
This commit is contained in:
Gunnar Ritter 2005-02-18 17:54:25 +00:00
parent e3eecf0edf
commit 1f78fc629a
2 changed files with 5 additions and 2 deletions

View File

@ -42,6 +42,8 @@ Release ...
* The 'substitute' ex command can now be abbreviated as 'sub', 'subst' etc. * The 'substitute' ex command can now be abbreviated as 'sub', 'subst' etc.
* A new version of mapmalloc.c that is derived from Unix 7th Edition code * A new version of mapmalloc.c that is derived from Unix 7th Edition code
has been introduced. has been introduced.
* If the 'next!' ex command is given and the autowrite option is set, the
current file is not written anymore.
Release 1/19/05 Release 1/19/05
* The last release erroneously made 'X' work like 'x' in visual mode. It now * The last release erroneously made 'X' work like 'x' in visual mode. It now

View File

@ -73,7 +73,7 @@
#ifndef lint #ifndef lint
#ifdef DOSCCS #ifdef DOSCCS
static char sccsid[] = "@(#)ex_cmds.c 1.21 (gritter) 2/17/05"; static char sccsid[] = "@(#)ex_cmds.c 1.22 (gritter) 2/18/05";
#endif #endif
#endif #endif
@ -466,7 +466,8 @@ casek:
/* next */ /* next */
tail("next"); tail("next");
setnoaddr(); setnoaddr();
ckaw(); if (!exclam())
ckaw();
ignore(quickly()); ignore(quickly());
if (getargs()) if (getargs())
makargs(); makargs();