From: Christian Brabandt Date: Tue, 16 Dec 2025 19:39:31 +0000 (+0100) Subject: patch 9.1.1989: Vim intro screen shows register message X-Git-Tag: v9.1.1989^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca12f62d0a6a49db0e1956c5c217e7e00e0366c7;p=thirdparty%2Fvim.git patch 9.1.1989: Vim intro screen shows register message Problem: Vim intro screen shows register message (after v9.1.1893) Solution: Remove the register message, registering is no longer useful and possible. fixes: #18933 closes: #18934 Signed-off-by: Signed-off-by: Christian Brabandt --- diff --git a/runtime/menu.vim b/runtime/menu.vim index edd628f4b4..992839c2a3 100644 --- a/runtime/menu.vim +++ b/runtime/menu.vim @@ -2,7 +2,7 @@ " You can also use this as a start for your own set of menus. " " Maintainer: The Vim Project -" Last Change: 2025 Aug 10 +" Last Change: 2025 Dec 15 " Former Maintainer: Bram Moolenaar " Note that ":an" (short for ":anoremenu") is often used to make a menu work @@ -84,7 +84,7 @@ an 9999.40 &Help.&Find\.\.\. :call Helpfind() an 9999.45 &Help.-sep1- an 9999.50 &Help.&Credits :help credits an 9999.60 &Help.Co&pying :help copying -an 9999.70 &Help.&Sponsor/Register :help sponsor +an 9999.70 &Help.&Sponsor :help sponsor an 9999.70 &Help.O&rphans :help kcc an 9999.75 &Help.-sep2- an 9999.80 &Help.&Version :version diff --git a/src/version.c b/src/version.c index 64a2cc03bd..1b406f8922 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 */ +/**/ + 1989, /**/ 1988, /**/ @@ -5274,8 +5276,7 @@ intro_message( if (blanklines < 0) blanklines = 0; - // Show the sponsor and register message one out of four times, the Uganda - // message two out of four times. + // Show the sponsor and Uganda message two out of four times sponsor = (int)time(NULL); sponsor = ((sponsor & 2) == 0) - ((sponsor & 4) == 0); @@ -5299,15 +5300,11 @@ intro_message( if (sponsor != 0) { if (strstr(p, "children") != NULL) - p = sponsor < 0 - ? N_("Sponsor Vim development!") - : N_("Become a registered Vim user!"); + p = N_("Sponsor Vim development!"); else if (strstr(p, "Kuwasha") != NULL) - p = sponsor < 0 - ? N_("type :help sponsor for information ") - : N_("type :help register for information "); + p = N_("type :help sponsor for information "); else if (strstr(p, "Orphans") != NULL) - p = N_("menu Help->Sponsor/Register for information "); + p = N_("menu Help->Sponsor for information "); } if (*p != NUL) do_intro_line(row, (char_u *)_(p), i == 2, 0);