patch 9.1.1989: Vim intro screen shows register message
Commit:
https://github.com/vim/vim/commit/ca12f62d0a6a49db0e1956c5c217e7e00e0366c7
Author: Christian Brabandt <
c...@256bit.org>
Date: Tue Dec 16 20:39:31 2025 +0100
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 <
c...@256bit.org>
diff --git a/runtime/menu.vim b/runtime/menu.vim
index edd628f4b..992839c2a 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 <
https://github.com/vim/vim>
-" Last Change: 2025 Aug 10
+" Last Change: 2025 Dec 15
" Former Maintainer: Bram Moolenaar <
Br...@vim.org>
" Note that ":an" (short for ":anoremenu") is often used to make a menu work
@@ -84,7 +84,7 @@ an <silent> 9999.40 &Help.&Find\.\.\. :call <SID>Helpfind()<CR>
an 9999.45 &Help.-sep1- <Nop>
an 9999.50 &Help.&Credits :help credits<CR>
an 9999.60 &Help.Co&pying :help copying<CR>
-an 9999.70 &Help.&Sponsor/Register :help sponsor<CR>
+an 9999.70 &Help.&Sponsor :help sponsor<CR>
an 9999.70 &Help.O&rphans :help kcc<CR>
an 9999.75 &Help.-sep2- <Nop>
an 9999.80 &Help.&Version :version<CR>
diff --git a/src/version.c b/src/version.c
index 64a2cc03b..1b406f892 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<Enter> for information ")
- : N_("type :help register<Enter> for information ");
+ p = N_("type :help sponsor<Enter> 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);