From 3e45159ceb465082c183e79e2547cb6cc408167e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 2 Apr 2014 14:22:05 +0200 Subject: updated for version 7.4.239 Problem: ":e +" does not position cursor at end of the file. Solution: Check for "+" being the last character (ZyX) --- src/ex_docmd.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ex_docmd.c b/src/ex_docmd.c index b61674075..001ccd7ea 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -4841,7 +4841,7 @@ getargcmd(argp) if (*arg == '+') /* +[command] */ { ++arg; - if (vim_isspace(*arg)) + if (vim_isspace(*arg) || *arg == NUL) command = dollar_command; else { diff --git a/src/version.c b/src/version.c index eb8de1cc3..b00297207 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 239, /**/ 238, /**/ -- cgit v1.2.1