# HG changeset patch # User Bram Moolenaar # Date 1396441325 -7200 # Node ID 98bfec9ea7608f312129475d4ca0ae6d1c6c232e # Parent 29dd99f4945d874c0405bceb1c16e298f5dfda34 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) diff --git a/src/ex_docmd.c b/src/ex_docmd.c --- 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 --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 239, +/**/ 238, /**/ 237,